Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication using SSH to Linux server

Status
Not open for further replies.

sillyVM

Technical User
Feb 14, 2007
144
US
Don't know where to post this. But I use a client software on windows machine to authentiate to the Linux server. It uses SSH with a public key (SSH DSA). file is called id_dsa.pub. it looks something like this

Code:
ssh-dss AAAAB3NzaC1kc3MAAACBAKio8Tu(deleted contents)mt3B3VbvvhoGwCYdfCHF9U+Z== dsa-key-20070504

But since I moved the Linux server to a new subnet with a new IP address. This client no longer works. I change all my linux client's known_host file, altered ip address. and all clients on them worked fine. However on windows machine, I can not find no such file. Is there a registry value I can change or anything like that? If anyone knows anything about it, please help me. Thank you
 
This is by design (as far as I know). Once you change IP address/hostname a new key needs to be generated. I don't know if you could transfer the existing key.
 
I ve already tried that too. I regenerated the shared key on the windows client. I put the shared key into Linux server's /.ssh/authorized_keys/. Didn't need to do that on linux machine. Server knows client by "authorized_keys" on server. Client knows server by "known_hosts" on clients' computer. I modified both them on linux machines, and it worked flawlessly.

I just don't know where the known_hosts file is on a windows machine.
 
There isn't one because SSH isn't part of the Windows OS. If one exists, it will be in the program directory for the SSH client that you're using. Or possibly in the registry.

What program are you using?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top