Re: SSH without inputing password



Hi there,
One other thing do not change the permission level for authorized_keys file
and .ssh key directory.


On Tue, May 20, 2008 at 1:19 PM, aydin sasmaz <sasmaz@xxxxxxxxxx> wrote:

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




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



Relevant Pages

  • Re: X forwarding over ssh stacked over ssh?
    ... >Is there a way to forward X from the local host ... >to the remote host? ... The set up of ssh seems to be hard wired just ... >to permit forwarding from wherever sshd is run to the client ...
    (comp.security.ssh)
  • RE: SSH without inputing password
    ... generating a rsa or dsa key pair o a local host, ... After that you can easily ssh from local to remote host without password ...
    (RedHat)
  • Re: SSH through wireless router
    ... When you say that I should try ssh ... Connection closed by remote host ... When I went to sshd to port 2222: ... debug1: read PEM private key done: type RSA ...
    (Debian-User)
  • Re: How do I port forward through 2 remote hosts?
    ... You gave a port number. ... desktop to a remote host for many years. ... I have read through the SSH FAQ which did nothing to help me ... loss to understand what remote forwardings (as opposed to local ...
    (comp.security.ssh)
  • Re: Passwordless ssh - SOLVED -
    ... I can now login without passwords but I have to kinit on each box before it will work. ... I built my kdc and configured my ssh daemon to use kerberos on both computers. ... I copied the krb5.keytab file to my remote host and setup the krb5.conf file on the remote host. ... After this is done I can ssh from my KDC to my remote host and I am not asked to enter my password. ...
    (comp.protocols.kerberos)