Re: ssh without password does not work
From: Harry Putnam (reader_at_newsguy.com)
Date: 11/29/03
- Previous message: Derrin Chong: "Re: plink removes quote marks"
- In reply to: tom: "ssh without password does not work"
- Next in thread: Vahid: "Re: ssh without password does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 28 Nov 2003 18:05:38 -0600
thomas.schwaerzler@gmx.at (tom) writes:
> on localhost:
> cd .ssh
> ssh-keygen -t rsa
> ssh-keygen -t dsa
> scp *.pub user@remotehost:~/
> ssh remotehost -l user
> cat id_rsa.pub >> .ssh/authorized_keys
> cat id_dsa.pub >> .ssh/authorized_keys
> rm id_rsa.pub id_dsa.pub
> exit
After these steps if you ssh from localhost to remote show should be
prompted for `pass phrase' instead of password. That would indicate
things are set up right so far.
Then I believe you need to start a new shell with ssh-agent
ssh-agent bash (from console mode)
and ssh-add
the ID to the new shell by typing:
ssh-add (and supplying the passphrase)
This new shell should be able to communicate with remote with no
further passwords being exchanged. That is, from the new shell
`ssh remote' should just land you on the remote.
- Previous message: Derrin Chong: "Re: plink removes quote marks"
- In reply to: tom: "ssh without password does not work"
- Next in thread: Vahid: "Re: ssh without password does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|