How to change Putty SSH login IP address?

6,589

Putty doesn't determine where the ssh daemon on your CentOS box will bind a tunnel to. That is usually the primary IP address on eth0, what you're calling the server's main IP address. The SSH protocol doesn't have a mechanism for the client (putty in this case) to specify which interface to bind a tunnel outlet to.

Share:
6,589
Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin over 1 year

    I have a CentOS Server which have multiple ip addresses. If i`m using various ip address to login in to my server via SSH to browse other website, the ip address sent to other website is the main ip address of the Server.

    For example: My CentOS Server have this IP addresses: 11.22.33.134 (the main) 11.22.33.34 11.22.34.210 11.22.34.43

    My computer IP: 33.22.11.123

    If i use 11.22.33.134 to login to the server via SSH, and i configure it to let me browse other website, so i will using 11.22.33.134 to browse other website instead of 33.22.11.123 (Putty proxy function)

    But if i use 11.22.33.34 or 11.22.34.210 or 11.22.34.43 to login to the server, i will still use the main IP 11.22.33.134 to browse other website.

    What i want to do is if i use 11.22.33.34 to login, i will use 11.22.33.34 to browse other website.

    I`m using Putty software on my computer and CentOS on my server.

    Is there any way to set it up?