questions on ssh

Ankush Grover ankush174 at gmail.com
Mon May 16 06:43:01 UTC 2005


> > b) I am using putty on windows for the first time when I connect the
> > putty to the Linux Server it asks for acceptance of  the key.I know
> > this key is common and dummy as this key is with every fedora core 3
> > cd.How can I generate my  own key so that I know that  I am connecting
> > to the correct server.\
> 
> Just type 'yes' and it will not ask you again.

This is what I am trying to say ,it is a dummy key ,Saying yes to that
does not mean that I am connecting to the correct server.I want to
create ony key and when i use putty to login into my linux server i
should be sure that I am logging into the correct server.

 
> > c) How to do X11 forwarding in putty( on windows) to my remote Linux servers.
> 
> I don't understand this. Do you mean you want to run X apps on your
> Windows machine? If so, you need an X server like Exceed.
> 

I want to do X11 forwarding .Means the X11 is running on my Remote
linux server when i login into Linux server through Putty i want to
use X11 windows or mode rather than using console mode.

> > d) I want to put the public keys of users generated on the Linux
> > clients on the servers so that the users don't have to use the
> > passwords for authencation with the servers.
> 
>   $ ssh-keygen -t rsa
>   Generating public/private rsa key pair.
>   Enter file in which to save the key (/home/me/.ssh/id_rsa): <enter>
>   Enter passphrase (empty for no passphrase): <enter>
>   Enter same passphrase again: <enter>
>   Your identification has been saved in /home/me/.ssh/id_rsa.
>   Your public key has been saved in /home/me/.ssh/id_rsa.pub.
>   The key fingerprint is:
>   cd:b0:08:2f:82:75:f4:da:26:a6:db:03:41:fc:0b:04 me at my.local.net
>   $ scp .ssh/id_rsa.pub example.com:~/
>   me at example.com's password: <password>
>   id_rsa.pub                          100%  231     0.2KB/s   00:00
>   $ ssh example.com
>   me at example.com's password:
>   Last login: Mon May 16 02:27:09 2005 from my.local.net
>   example.com$ cat id_rsa.pub >> .ssh/authorized_keys
>   example.com$ exit
>   logout
>   Connection to example.com closed.
> 
> Now we should no longer be asked for a password ...
> 
> Now, normally users should enter a passphrase for their keystore. But
> then you need ssh-agent but that's a different story (which incedentally
> I haven't been able to get working on FC3).
> 
> Mike

The procedure told me is that for SSH version 1 or SSH version 2 .I
don't want to use SSH1 ,I only want to use ssh version 2.

Thanks & Regards

Ankush Grover




More information about the users mailing list