RE: SSH without inputing password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux