Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Dec 20, 2013 5:43 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Hi, i´m setting up a new linode.
I´m generating SSH Keys, but when i run:
Code:
scp ~/.ssh/id_rsa.pub <your username>@<your server ip>:

I get this error:
Code:
ssh: connect to host <my ip> port 22: Connection refused

My first thought is that the firewall is blocking port 22
My Linode: Ubuntu 12.04, Apache, CSF (firewall), Fail2Ban.
I changed my port to 44444, checked CSF:
TCP_IN:44444
TCP_OUT:44444
I´m logging in with Putty, and port 44444
Do you think it can be a "router/port" problem? Or any firewall configuration?

* Can it be related to ipv6 connections?
** I enabled a Private IP address on my Linode (could it be the problem?)
*** There´s a problem with Filezilla SFTP also, i can login using port 44444, but not able to modify any files.


Last edited by grevan on Fri Dec 20, 2013 6:05 pm, edited 1 time in total.

Top
   
PostPosted: Fri Dec 20, 2013 5:56 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I use ssh-copy-id since it makes sure permissions are set up right on the .ssh directory.


Top
   
PostPosted: Fri Dec 20, 2013 6:00 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Using
ssh-copy-id <username>@<my ip>:
I get the same connection refused mesage.


Top
   
PostPosted: Fri Dec 20, 2013 7:40 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
Try Lish, when you can ssh locally inside the Linode VM then you should be able to remotely and if not then it's likely a firewall issue.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group