To avoid using a password, you must setup keys. See: http://vh224401.truman.edu/~dbindner/guide/a2076.html But this only works (AFAIK) from linux to linux, i.e. no putty / Windows. I could be wrong...
-----Original Message----- From: Garg , Anil Kumar [mailto:akgarg@iPolicyNet.COM] Sent: Monday, February 16, 2004 10:13 PM To: aan agustiono Cc: suse-security@suse.com Subject: RE: [suse-security] newbie ssh question
On doing so..it asks for password...can i provide password too in the same command.
thanks ps. i m using putty to ssh (using default port).
-----Original Message----- From: aan agustiono [mailto:ants@indika.net.id] Sent: Tuesday, February 17, 2004 10:39 AM To: Garg , Anil Kumar Cc: suse-security@suse.com Subject: Re: [suse-security] newbie ssh question
ssh -p xx username@ipaddress for different port
ssh username@ipaddress for default port
On Tue, 2004-02-17 at 12:00, Garg , Anil Kumar wrote:
Hi Using one command i need to ssh to a machine so that i can see the commandline/command prompt...(i tried the following syntax...ssh <username>/<pw>@<ipaddress>, ssh <usernaem>@<ipaddres>:<password>
Can someone help me with the correct syntax.
Regards Anil. m not really sure if this is the right place to ask this question..if so plz give some pointer.
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
This electronic message transmission is a PRIVATE communication which contains information which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. Please notify the sender of the delivery error by replying to this message, or notify us by telephone (877-633-2436, ext. 0), and then delete it from your system.
To avoid using a password, you must setup keys. See:
http://vh224401.truman.edu/~dbindner/guide/a2076.html
But this only works (AFAIK) from linux to linux, i.e. no putty / Windows. I could be wrong...
--> No, this will also work from Windows to Linux. You have to use the graphical interface of PuTTY to define which key to use for a given user@host configuration. If you specify this configuration on the commandline for PuTTY ssh or scp, it will use the key defined above. Use "puttygen.exe" to create keys. Then you have to upload the "keyname.pub" file to your SSH server and add it to the ~/.ssh/authorized_keys file. HTH, Armin
the last version of putty for windows that I saw was a GUI app w/ no fields to put in username/pw. and if you're running a unix command line, I don't see why you wouldn't just use the ssh commands instead of using putty. the linux port is basically the same as putty/win32, although you can specify a key file from the command line (I think the switch is -i ....check the man page though.) -d. Sturgis, Grant wrote:
To avoid using a password, you must setup keys. See:
http://vh224401.truman.edu/~dbindner/guide/a2076.html
But this only works (AFAIK) from linux to linux, i.e. no putty / Windows. I could be wrong...
/ 2004-02-17 09:01:28 -0500 \ David Piniella:
the last version of putty for windows that I saw was a GUI app w/ no fields to put in username/pw. and if you're running a unix command line, I don't see why you wouldn't just use the ssh commands instead of using putty. the linux port is basically the same as putty/win32, although you can specify a key file from the command line (I think the switch is -i ....check the man page though.)
wanted to mention cygwin ... just in case it was overlooked. lge
participants (4)
-
Armin Schoech
-
David Piniella
-
Lars Ellenberg
-
Sturgis, Grant