SSH without inputing password

aydin sasmaz sasmaz at itu.edu.tr
Tue May 20 17:19:34 UTC 2008


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 at redhat.com [mailto:redhat-list-bounces at redhat.com]
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 at yahoo.com.cn>:
>
> 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 at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list