×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can't log on with SSH v1 since router domain-name change

Can't log on with SSH v1 since router domain-name change

Can't log on with SSH v1 since router domain-name change

(OP)
I had to change the domain-name on a router, and since then my Slackware 11.0 PC cannot log in to it using ssh v1. I shut down and restarted the SSH server on the router (which should have re-generated a new crypto key) but still cannot log in.

Do I have to delete or remove a file containing the former rsa key (or other crypto information) before I can log in to that router again using SSH v1?

I have no more territorial claims to make in Europe...

Adolph Hitler (after moving troops into the Rhineland in 1936)


RE: Can't log on with SSH v1 since router domain-name change

What symptoms do you see when attempting login?
Are you sure your DNS is correct to reach the box?

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

RE: Can't log on with SSH v1 since router domain-name change

(OP)
I can log in via telnet just fine, so I know I am getting connectivity.

I did a:

user1:~$ rm $HOME/.ssh/known_hosts

then attempted to ssh in, but after the router gives me its key, I immediately get disconnected. I try to log in again after that (thinking that once I had the key I was OK), then immediately get disconnected again.

My belief is that I need to delete or remove existing rsa info out of the Linux PC so the router will let me start anew.

I just don't know which files I need to delete or edit.

RE: Can't log on with SSH v1 since router domain-name change

You mentioned SSH v1.  Often that's disabled in the .conf files for the ssh client by default (given that v1 has been deprecated by the SSH folks for a few years).

Is it possible that your client SW is not permitting itself to talk v1?

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

RE: Can't log on with SSH v1 since router domain-name change

(OP)
I got it working. I edited all rsa files in /etc/ssh and deleted moduli, then re-installed moduli from OpenSSH.

I shutdown and re-started the SSH server on the router again (which generated a new key pair), and now I can log in with my Linux PC using SSH v1.

Thanks for your reply.

I have no more territorial claims to make in Europe...

Adolph Hitler (after moving troops into the Rhineland in 1936)


RE: Can't log on with SSH v1 since router domain-name change

Another fix is to remove the lines in the ~/.ssh/known_hosts file referring to the servers you're having trouble with. Next time you ssh to it, it will generate a new key for the client.

Mark

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close