Re: OpenSSH Passwordless Authentication between 2 systems with different UID's
- From: Malcolm <malcolm_nospam_lewis@xxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 15:19:59 -0600
d3vn0ll wrote:
Here is what I did to get it to work (note scp command line has
<kaka.hui@xxxxxxxxx> schreef in bericht
news:1162161214.015618.237740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Toni... I tried what you mentioned. But it still prompt meI have the same problem. Do not us -vvv. Just use one v .
for
the password. What else could be missing? Also ssh -vw and ssh
-ddd is not a valid option for OpenSSH.
I am still searching.
Carlo
word-wrapped). I also created a tempuser to ensure it would work with
differnt UIDs;
malcolml@muppet-oscar:~> ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/malcolml/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/malcolml/.ssh/id_dsa.
Your public key has been saved in /home/malcolml/.ssh/id_dsa.pub.
The key fingerprint is:
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx malcolml@muppet-oscar
malcolml@muppet-oscar:~> scp .ssh/id_dsa.pub
malcolml@muppet-solaris:id_dsa.pub
Password:
id_dsa.pub 100% 6110.6KB/s 00:00
malcolml@muppet-oscar:~> ssh malcolml@muppet-solaris
Password:
Last login: Tue Oct 31 14:40:12 2006 from xxx.xxx.xxx.xxx
[malcolml@muppet-solaris]$ mv id_dsa.pub .ssh/authorized_keys
[malcolml@muppet-solaris]$ chmod 600 .ssh/authorized_keys
[malcolml@muppet-solaris]$ exit
Connection to muppet-solaris closed.
malcolml@muppet-oscar:~> ssh malcolml@muppet-solaris
Last login: Tue Oct 31 14:41:50 2006 from xxx.xxx.xxx.xxx
[malcolml@muppet-solaris]$
# useradd -d /export/home/tempuser -m tempuser
64 blocks
# passwd tempuser
New Password:
Re-enter new Password:
passwd: password successfully changed for tempuser
# exit
[malcolml@muppet-solaris]$ exit
Connection to muppet-solaris closed.
malcolml@muppet-oscar:~> scp .ssh/id_dsa.pub
tempuser@muppet-solaris:id_dsa.pub
Password:
id_dsa.pub 100% 611 0.6KB/s 00:00
malcolml@muppet-oscar:~> ssh tempuser@muppet-solaris
Password:
Last login: Tue Oct 31 14:45:29 2006 from xxx.xxx.xxx.xxx
$ mv id_dsa.pub .ssh/authorized_keys
$ chmod 600 .ssh/authorized_keys
$ exit
Connection to muppet-solaris closed.
malcolml@muppet-oscar:~> ssh tempuser@muppet-solaris
Last login: Tue Oct 31 14:46:26 2006 from xxx.xxx.xxx.xxx
$
$ ssh -version
OpenSSH_4.3p2, OpenSSL 0.9.8d 28 Sep 2006
$ exit
Connection to muppet-solaris closed.
malcolml@muppet-oscar:~> ssh -version
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005
malcolml@muppet-oscar:~>
--
Cheers Malcolm °¿°
SUSE 10.0 x86_64 Kernel 2.6.13-15.12-smp
up 12 days 2:07, 5 users, load average: 0.04, 0.03, 0.04
.
- Follow-Ups:
- Re: OpenSSH Passwordless Authentication between 2 systems with different UID's
- From: kaka.hui@xxxxxxxxx
- Re: OpenSSH Passwordless Authentication between 2 systems with different UID's
- References:
- Prev by Date: Re: destroy data on harddrive?
- Next by Date: Re: help jumpstart a pre-installed OS server
- Previous by thread: Re: OpenSSH Passwordless Authentication between 2 systems with different UID's
- Next by thread: Re: OpenSSH Passwordless Authentication between 2 systems with different UID's
- Index(es):
Relevant Pages
|