RSS Forums RSS
Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 4370 | Replies: 1
Reply
Join Date: Dec 2004
Posts: 4
Reputation: Tokunbo is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Tokunbo Tokunbo is offline Offline
Newbie Poster

Cant Login with SSH after IP change

  #1  
Dec 16th, 2005
hello,,

I have an FC4 PC and a Laptop running WinXP on my LAN. The IPs on both PCs are statically assigned. I have confirmed ping tests to and fro both PCs to confirm both are on the network. I have Putty Installed and running on my WinXP.

The IP on my FC4 is xxx.xxx.xx.5. The one on my WInXP is of the format xxx.xxx.xx.2. I have observed that i can only connect from Windows to Linux, using Putty if the FC4 has the IP xxx.xxx.xx.5. The first time I installed Putty a week ago, (.5) was the IP I had assigned to my FC4. If I should change the IP on my FC4 to some other valid IP i have, confirm ping tests to and fro, and I try to connect to Linux from Windows, using Putty, I get the error "connection refused". However if I should change my FC4 back to (.5), connection is possible thru putty on Win.

Pls, why is this so? Note: i verify that both PCs are on the network, ping to and fro, etc. If I changed my FC4 IP, definitely I change the IP putty is to connect to, but still I get a connection refused error.

Pls help
Toks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: Cant Login with SSH after IP change

  #2  
Apr 19th, 2006
Putty caches the certificates (SSH certs) in a setting file in the registry in windows. On Linux, it is in the known_hosts file in .ssh directory (most distros). Just do a
find known_hosts
or
locate known_hosts
in Linux. In windows look for SshHostKeys in the following registry entry:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY


You're set! You can delete sessions there too...delete it and try connecting again.
My Home Away from Home: Yet Another Linux Blog
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:50 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC