I am trying to create a public key in Cygwin so I can SFTP without entering password.
I have cwgwin load on my windows visa computer. I use it to login to linux server.
I was trying to create the public ket and they copy it to the server i SFTP to.
I did create the pubilc key so take look at the below output.
[~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/cygdrive/h/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /cygdrive/h/.ssh/id_rsa.
Your public key has been saved in /cygdrive/h/.ssh/id_rsa.pu
b.
The key fingerprint is:
78:21:60:bc:26:7e:a4:99:ab
:7e:17:d6:
91:c4:65:f
9 etimrou@EV0016D4E78F6D
The key's randomart image is:
+--[ RSA 2048]----+
| .o . .o. |
| ... o.. |
| .o o . |
| . + = . E |
| . B o S |
| = .o o |
| o. . |
| .. . |
|oo. . |
+-----------------+
[~]$ ls -ltrF
total 43055
-rwxrwxrwx 1 etimrou ???????? 7582407 Sep 6 2008 kget.log*
-rw-rw-rw- 1 etimrou mkgroup-l-d 25405 Jul 6 11:58 moshell_install
-rw-rw-rw- 1 etimrou mkgroup-l-d 26437120 Jul 6 11:58 moshell.tar
-rwxrwxrwx 1 etimrou ???????? 9935777 Jul 9 16:34 moshell7.1t.zip*
drwxr-xr-x+ 6 etimrou mkgroup-l-d 12288 Jul 9 16:37 moshell/
-rwxrwxrwx 1 etimrou ???????? 954 Jul 31 22:17 s
ftp.txt*drwxrwxrwx+ 4 etimrou mkgroup-l-d 4096 Aug 1 18:59 moshell_logfiles/
-rwxrwxrwx 1 etimrou ???????? 211 Aug 4 10:07 txs
ftp.txt*-rw------- 1 etimrou mkgroup-l-d 404 Aug 4 10:53 csdcnsnsg@138.85.87.18
drwxrwxrwx+ 2 etimrou ???????? 16384 Aug 5 13:02 w321/
drwxrwxrwx+ 7 etimrou ???????? 0 Aug 5 13:31 old/
drwxrwxrwx+ 2 etimrou ???????? 8192 Aug 5 21:48 w322/
drwxrwxrwx+ 2 etimrou ???????? 0 Aug 6 08:08 txrun/
-rwxrwxrwx 1 etimrou ???????? 227 Aug 11 10:59 txrun.txt*
drwxrwxrwx+ 2 etimrou ???????? 8192 Aug 11 12:10 w327/
-rw-rw-rw- 1 etimrou mkgroup-l-d 0 Aug 12 09:30 runs
ftp.txtdrwxrwxrwx+ 2 etimrou ???????? 40960 Aug 12 09:37 W323/
[~]$
Now I don't know where to find it. Need help.
Below is how i normally login to server. I have to enter a port number in order to login.
ssh csdcnsnsg@138.85.87.18 -p 6667
password: 00bs4Lvu
My username is csdcnsnsg
password 00bs4Lvu
server 138.85.87.18
Below is how i SFTP to server.I have to enter a port number in order to login.
sftp -oPort=6660 csdcnsnsg@138.85.87.18
password 00bs4Lvu
My username is csdcnsnsg
password 00bs4Lvu
server 138.85.87.18