Mailinglist Archive: opensuse (4344 mails)
| < Previous | Next > |
Re: [SLE] Suse 9.3 + FreeNX no connection]
- From: Art Fore <art.fore@xxxxxxxxxxx>
- Date: Fri, 05 Aug 2005 17:24:13 -0700
- Message-id: <1123287853.7970.15.camel@xxxxxxxxxx>
Sorry I sent the previous email without subject accidently.
> How do I generate this key on the client?
>
> Art
>
> Ken Schneider wrote:
> > On Mon, 2005-08-01 at 21:07 -0700, Art Fore wrote:
> >
> >>On Mon, 2005-08-01 at 22:54 -0400, Ken Schneider wrote:
> >>
> >>>On Mon, 2005-08-01 at 19:24 -0700, Art Fore wrote:
> >>>The file on the local pc, the one doing ssh, should reside
> >>>under /home/<user login>/.ssh/id_dsa.pub and be owned by the user.
The
> >>>same file will be on the remote machine as ~/.ssh/authorized_keys
and
> >>>also owned by the user.
> >>>Hope this helps.
> >>>
> >
> > The key should be generated on the client and there will be two
files
> > created in the directory you are in when created, id_dsa and
id_dsa.pub
> > in .ssh dir. You need put them in the local .ssh dir and copy the
> > id_dsa.pub file to the remote PC and name it authorized_keys in .ssh
> > dir.
> >
>
>Follow this thread in the archives:
>http://lists.suse.com/archive/suse-linux-e/2005-Jun/1841.html
>You can search the archives using google. For this I used:
>site:lists.suse.com [SLE] id_dsa.pub 9.3
>and had one listing.
--
>Ken Schneider
>UNIX since 1989, linux since 1994, SuSE since 1998
> "The day Microsoft makes something that doesn't suck is probably
> the day they start making vacuum cleaners." -Ernst Jan Plugge
Went to the link you gave, still no luck. Here is what I did and what I
got:
afore@linux:~> ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/afore/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/afore/.ssh/id_dsa.
Your public key has been saved in /home/afore/.ssh/id_dsa.pub.
copied the id_dsa.pub from local machine to
server /afore/.ssh/authroized_keys.
Still get the same when I try to logon to the server with NX on the
clinet.
Then I tried one of the things mention in one of the emails.
afore@linux:~> ssh-copy-id -i id id_dsa.pub afore@xxxxxxxxxxx
0
/usr/bin/ssh-copy-id: ERROR: No identities found
afore@linux:~> cd .ssh
afore@linux:~/.ssh> ssh-copy-id -i id id_dsa.pub afore@xxxxxxxxxxx
0
/usr/bin/ssh-copy-id: ERROR: No identities found
So I tried
afore@linux:~/.ssh> ssh afore@xxxxxxxxxxx
Enter passphrase for key '/home/afore/.ssh/id_dsa':
Entered the password that I used when I generated the key which is the
same as my logon for both the client and server.
Last login: Sat Aug 6 01:49:08 2005 from sha-server.site
Have a lot of fun...
afore@sha-server:~> exit
logout
Connection to 192.168.0.4 closed.
So now, I am completely lost! What does the ERROR: No identities found
mean?
Art
> How do I generate this key on the client?
>
> Art
>
> Ken Schneider wrote:
> > On Mon, 2005-08-01 at 21:07 -0700, Art Fore wrote:
> >
> >>On Mon, 2005-08-01 at 22:54 -0400, Ken Schneider wrote:
> >>
> >>>On Mon, 2005-08-01 at 19:24 -0700, Art Fore wrote:
> >>>The file on the local pc, the one doing ssh, should reside
> >>>under /home/<user login>/.ssh/id_dsa.pub and be owned by the user.
The
> >>>same file will be on the remote machine as ~/.ssh/authorized_keys
and
> >>>also owned by the user.
> >>>Hope this helps.
> >>>
> >
> > The key should be generated on the client and there will be two
files
> > created in the directory you are in when created, id_dsa and
id_dsa.pub
> > in .ssh dir. You need put them in the local .ssh dir and copy the
> > id_dsa.pub file to the remote PC and name it authorized_keys in .ssh
> > dir.
> >
>
>Follow this thread in the archives:
>http://lists.suse.com/archive/suse-linux-e/2005-Jun/1841.html
>You can search the archives using google. For this I used:
>site:lists.suse.com [SLE] id_dsa.pub 9.3
>and had one listing.
--
>Ken Schneider
>UNIX since 1989, linux since 1994, SuSE since 1998
> "The day Microsoft makes something that doesn't suck is probably
> the day they start making vacuum cleaners." -Ernst Jan Plugge
Went to the link you gave, still no luck. Here is what I did and what I
got:
afore@linux:~> ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/afore/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/afore/.ssh/id_dsa.
Your public key has been saved in /home/afore/.ssh/id_dsa.pub.
copied the id_dsa.pub from local machine to
server /afore/.ssh/authroized_keys.
Still get the same when I try to logon to the server with NX on the
clinet.
Then I tried one of the things mention in one of the emails.
afore@linux:~> ssh-copy-id -i id id_dsa.pub afore@xxxxxxxxxxx
0
/usr/bin/ssh-copy-id: ERROR: No identities found
afore@linux:~> cd .ssh
afore@linux:~/.ssh> ssh-copy-id -i id id_dsa.pub afore@xxxxxxxxxxx
0
/usr/bin/ssh-copy-id: ERROR: No identities found
So I tried
afore@linux:~/.ssh> ssh afore@xxxxxxxxxxx
Enter passphrase for key '/home/afore/.ssh/id_dsa':
Entered the password that I used when I generated the key which is the
same as my logon for both the client and server.
Last login: Sat Aug 6 01:49:08 2005 from sha-server.site
Have a lot of fun...
afore@sha-server:~> exit
logout
Connection to 192.168.0.4 closed.
So now, I am completely lost! What does the ERROR: No identities found
mean?
Art
| < Previous | Next > |