RE: SSH without inputing password



Hi

Have you tried this method before or is suitable for you

1) generating a rsa or dsa key pair o a local host,
2) concatenate id_rsa.pub or id_dsa.pub to the /root/.ssh/authorized_keys or
authorized_keys2 file on the remote host

After that you can easily ssh from local to remote host without password
issue


Regards



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Daniel Carrillo
Sent: Tuesday, May 20, 2008 5:34 PM
To: General Red Hat Linux discussion list
Subject: Re: SSH without inputing password

2008/5/20 tech user <techwww@xxxxxxxxxxxx>:

But what I wanted is:

1> ssh remote_host
2> input password automatically for me
3> let me login into it successfully and stay there

Do you know me? Thank you.

--Ken


Hi.

You can make a simple perl wrapper using Net::SSH::Perl (see $ssh->shell).

Cheers.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • ssh / keyless login problem
    ... OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f ... I am using rsync to backup my local host to a remote host over ssh. ... The first time the script runs after a long delay (ie overnight when the local ...
    (SSH)
  • Re: port forwarding with binding to specific IP on remote host
    ... I want to establish an SSH tunnel. ... the SSH connection has two IP addresses that may be used ... local host has IP 10.0.0.1 ... the connection from my client host to the remote host ...
    (comp.security.ssh)
  • Re: fish://host protocol died unexpectedly
    ... The remote host is running Debian Unstable. ... Trying connecting to the remote machine using the same user with ssh in a console and it might throw back an error about the host key changing or something... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Disabling RSA host key check temporarily
    ... $ ssh -X user@xxxxxxx ... It is also possible that the RSA host key has just been ... The fingerprint for the RSA key sent by the remote host is ... RSA host key for 192.168.0.100 has changed and you have requested ...
    (Debian-User)
  • port forwarding with binding to specific IP on remote host
    ... I want to establish an SSH tunnel. ... the SSH connection has two IP addresses that may be used ... local host has IP 10.0.0.1 ... the connection from my client host to the remote host ...
    (comp.security.ssh)