Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Connect with null passphrases

Subject: Re: Connect with null passphrases
Date: Wed, 6 Dec 2006 22:37:16 +0100 (CET)
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@bohater.net

<Prev in Thread] Current Thread [Next in Thread>