Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 17, 2012 2:15 pm 
Offline
Senior Newbie

Joined: Fri Dec 30, 2011 12:24 pm
Posts: 13
Website: http://www.nirm.al
Everything was working perfect before until I accidentally changed the id_rsa.pub keygen. After that I can't do ssh login to my linode. Then I changed the new keygen in the server id_rsa.pub file. Now I can ssh login to my linode. But I can't able to connect to my linode via FTP ( FileZilla ). It showed some warning like cache is different. It is not connecting and showing this error "Could not connect to server"

One more thing my root login is also disabled. I changed PermitRootLogin to YES. Then even its not working.

How can I solve these problems? Could anyone guide me?

Thanks!


Top
   
PostPosted: Thu May 17, 2012 3:14 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
rkumarnirmal wrote:
But I can't able to connect to my linode via FTP ( FileZilla ). It showed some warning like cache is different. It is not connecting and showing this error "Could not connect to server"

The actual error would be more informative with regards to the cache.

Quote:
One more thing my root login is also disabled. I changed PermitRootLogin to YES. Then even its not working.

Did you restart sshd ?

_________________
Kevin a.k.a. Dweeber


Top
   
PostPosted: Fri May 18, 2012 3:01 am 
Offline
Senior Newbie

Joined: Fri Dec 30, 2011 12:24 pm
Posts: 13
Website: http://www.nirm.al
Dweeber wrote:
rkumarnirmal wrote:
But I can't able to connect to my linode via FTP ( FileZilla ). It showed some warning like cache is different. It is not connecting and showing this error "Could not connect to server"

The actual error would be more informative with regards to the cache.


I ticked "dont show this message again" checkbox and now I can't see the message . Is there any other way to see it?

Quote:
Quote:
One more thing my root login is also disabled. I changed PermitRootLogin to YES. Then even its not working.

Did you restart sshd ?


Yes I did. Still not working, showing this message


debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to IP ADDRESS [ IPADDRESS ] port 22.
debug1: connect to address IPADDRESS port 22: Connection refused
ssh: connect to host IPADDRESS port 22: Connection refused


Top
   
PostPosted: Fri May 18, 2012 6:42 am 
Offline
Junior Member

Joined: Mon Jan 30, 2012 3:21 am
Posts: 29
Location: Glendale, CA
Filezilla uses putty dlls for the SSH component. Easiest way is to use regedit and remove registry key that contains the ssh key that you need it to reinquire about.

Putty/filezilla host keys are located:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

Standard warnings re: mucking with the registry apply....


Top
   
PostPosted: Fri May 18, 2012 10:20 am 
Offline
Senior Newbie

Joined: Fri Dec 30, 2011 12:24 pm
Posts: 13
Website: http://www.nirm.al
TeddyR42 wrote:
Filezilla uses putty dlls for the SSH component. Easiest way is to use regedit and remove registry key that contains the ssh key that you need it to reinquire about.

Putty/filezilla host keys are located:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

Standard warnings re: mucking with the registry apply....



I'm using ubuntu on my desktop computer.


Top
   
 Post subject:
PostPosted: Fri May 18, 2012 10:24 am 
Offline
Senior Newbie

Joined: Fri Dec 30, 2011 12:24 pm
Posts: 13
Website: http://www.nirm.al
Now I can't connect to both my user and root on my linode. I'm completely tired. Could anyone give me some clear solution to solve this problem. I need to transfer my files to the server also want to do ssh login where I'm getting this error for both root and another user I've created.

OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to ***.***.***.*** [***.***.***.***] port 22.
debug1: connect to address ***.***.***.*** port 22: Connection refused
ssh: connect to host ***.***.***.*** port 22: Connection refused

I've updated my latest ssh keygen to the server, but still not resolved. Where is the problem coming from? I think it might be from ssh_config

Thanks!


Top
   
 Post subject: filezilla on linux
PostPosted: Sat May 19, 2012 2:44 am 
Offline
Junior Member

Joined: Mon Jan 30, 2012 3:21 am
Posts: 29
Location: Glendale, CA
filezilla on linux also uses puttys sshhostkeys file. The files are located in the home directory in the .putty folder

the file that contains the keys is
~/.putty/sshhostkeys

If ssh on the server was updated recently, then make sure sshd is running on the server and that you are of course connecting to the right port with the correct ssh protocol.

One item to look closely at in /etc/ssh/ssh_config is the "protocol" line. [In my case I only connect with protocol 2] if the client has 1,2 and the server has 2,1 or 2 only it may do what you are describing.


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


Who is online

Users browsing this forum: No registered users and 8 guests


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