Jump to content

(Solved) Unable to SSH

Featured Replies

Posted
  • Community Expert

Solution: Delete Keys and reboot server... (This should really be on the wiki...)

 

Edit:


root@Tower:~# ssh -v root@Tower

OpenSSH_7.4p1, OpenSSL 1.0.2k  26 Jan 2017

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Connecting to tower [127.0.0.1] port 22.

debug1: connect to address 127.0.0.1 port 22: Connection refused

ssh: connect to host tower port 22: Connection refused

 

Basically I did a new install of 6.3.5 and for some reason I get:

 

ssh: connect to host tower port 22: Connection refused

 

I went ahead and installed the SSH plugin to see if I could get it to start the daemon and it refused to start and said SSH isn't running.

 

I can telnet in just fine.

 

What can I do to debug this issue?

Edited by MowMdown

  • Author
  • Community Expert
1 hour ago, Zonediver said:

And the user, which u use to ssh is already created on unraid or how do you ssh?

Use PuTTY and read this article.

https://wiki.lime-technology.com/Terminal_Access

 

I've been using OS X Terminal, 

 

ssh root@Tower

Instead of "Tower" Ive also tried the IP address. Ive also tried PuTTY on my windows machine with the same error.

 

 

Edited by MowMdown

Check the /config/ssh/ folder on your flash drive and make sure the SSH keys are there and NOT 0 bytes in size.  If they are, delete them, and reboot the server and they should be recreated.

I use ssh root@IPADDRESS

 

Work fine from OS x Terminal.

 

Kevin.

  • Author
  • Community Expert
5 minutes ago, CHBMB said:

Check the /config/ssh/ folder on your flash drive and make sure the SSH keys are there and NOT 0 bytes in size.  If they are, delete them, and reboot the server and they should be recreated.

 

4 minutes ago, digitalfixer said:

I use ssh root@IPADDRESS

 

Work fine from OS x Terminal.

 

Kevin.

 

They are 0 Bytes, deleting them and rebooting server, will edit post with results.

 

Edit: That worked!

Edited by MowMdown

Archived

This topic is now archived and is closed to further replies.