Re: [opensuse] Re: How can I give the password to an ssh session on the command line?

2008-01-27 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Saturday 2008-01-26 at 21:50 +0100, Dieter Jurzitza wrote:


Hi Carlos,
please try the following:

ssh-keygen -t rsa

creates a file ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa

now take the file id_rsa.pub and put it's contents into ~/.ssh/authorized_keys
of the _remote_ machine.


I know all that. But you haven't read my email and subsequent mails 
carefully, so that what you proposse is utterly impossible: the remote 
machine is _not_ writeable. It is an small embedded commtrend router as 
provided by the ISP.


I can not write any file at all there.

- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHnH/qtTMYHG2NR9URAr58AJ0av18jcwh/9WbRzjt/vLhN16bOPACgg0g8
+1ARg2Ab4h+3ufJgNF2d92w=
=UCEB
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Re: How can I give the password to an ssh session on the command line?

2008-01-26 Thread Dieter Jurzitza
Hi Carlos,
please try the following:

ssh-keygen -t rsa

creates a file ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa

now take the file id_rsa.pub and put it's contents into ~/.ssh/authorized_keys 
of the _remote_ machine.
This leads to a password less login because your account is signed 
appropriately.
I guess this is advantageous over handing over passwords through a script 
IMHO.
Best regards,
hth


Dieter
-- 
---

   |
\
 /\_/\   |
| ~x~ |/-\   /
 \   /-   \_/
  ^^__   _/  _     /
 °°__ \- \_/ |  |/|  |
  ||  || _| _|_| _|

if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]