logo       

Re: Connect with null passphrases: msg#00011

network.openssh.general

Subject: Re: Connect with null passphrases

On Wed, 6 Dec 2006, John Stefani wrote:

:] sometimes I have to connect as the real user. Does someone know how I can
:] connect automatically to a server, using ssh, as a user that has a password,
:] but with a null passphrase? Hope the above was not too confusing...
:]
:] Absolutely any thoughts or workarounds will be much appreciated.
:]

If server do not deny this option, You can use ssh-keys to do this.
Check commands:

$ssh-keygen -t dsa
[when it ask about password - just press enter]

Its generate 2 files in ~/.ssh/ directory.

Copy file id_dsa.pub to remote site to directory ~/.ssh as file:
authorized_keys [chmod this 700]

and when You will try connect via ssh it should check Your keys and login
Your without password asking [you can have password normally set]

:] John Stefani
:] jstefani _at_ yorku.ca

--
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]..
[+] You can take our lives,but you will never take our Freedom - W.Wallace
[+] Peace on earth depends on the peace in the peoples hearts - Dalai Lama
[+] Revolution the only solution - System of a down...
[+] Dalej idac dalej dojdziesz dalej siedzac dalej siedzisz - etoe aka ok0
[-] Kanedaaa... Bohateur... Cucumber Team Member... kaneda@xxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise