![]() |
2010-02-24
, 14:15
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#72
|
![]() |
2010-02-24
, 14:29
|
Posts: 42 |
Thanked: 1 time |
Joined on Dec 2009
@ Finland
|
#73
|
That looks okay to me. So when you do "ssh seriouser.mine.nu" it still tries to use port 22?
![]() |
2010-02-24
, 14:37
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#74
|
Yep.
I just tried the whole process again and created new keys in the /home/user/.ssh folder as id_rsa with a passphrase. I then copied the .pub file to the freeSSHd folder as "seriouser"
But then again if the ssh still uses port 22 instead of 522 it really isn't a matter of keys, right? Should I try to change the default ssh_config file that resides somewhere in /etc.....?
file /home/user/.ssh/config
![]() |
2010-02-24
, 14:38
|
Posts: 42 |
Thanked: 1 time |
Joined on Dec 2009
@ Finland
|
#75
|
![]() |
2010-02-24
, 14:46
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#76
|
cat /home/user/.ssh/config | tr -d '\r' > /home/user/.ssh/config2 mv /home/user/.ssh/config2 /home/user/.ssh/config
![]() |
2010-02-24
, 14:49
|
Posts: 42 |
Thanked: 1 time |
Joined on Dec 2009
@ Finland
|
#77
|
Oh, okay - I must have installed that at some point. Anyway, the concern I have is that the file may be using DOS format line endings rather than UNIX format, which could well mess up ssh.
Try this, which should fix it up:
Code:cat /home/user/.ssh/config | tr -d '\r' > /home/user/.ssh/config2 mv /home/user/.ssh/config2 /home/user/.ssh/config
![]() |
2010-02-24
, 14:51
|
Posts: 42 |
Thanked: 1 time |
Joined on Dec 2009
@ Finland
|
#78
|
![]() |
2010-02-24
, 14:56
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#79
|
ssh seriouser@seriouser.mine.nu:522
![]() |
2010-02-24
, 15:09
|
Posts: 42 |
Thanked: 1 time |
Joined on Dec 2009
@ Finland
|
#80
|
Which "Not found" message - from ssh or from sh?
The other thing to try (to make sure it's not the config file causing the problem) is:
If that connects okay then the problem's with the config file somewhere.Code:ssh seriouser@seriouser.mine.nu:522
Last edited by seriouser; 2010-02-24 at 14:01.