change static IP remotely

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
I received a call last night that the ISP had changed the static IP address of my server. I had an existing sftp transfer to the server open, and it was still transfering. However, I could not open a new ssh session with either the new or old IP address.

Is there any way to remotely change the IP address after the ISP has already changed it? Right now, I'm going to have to go and physically access the server to change the config files.

Why did the sftp session still work?
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
How did the ISP change your static IP? Why would they do that? Is this a shared-host web server? Are you sure they didn't just change the address of a router that your server uses?
 

pravi333

Senior member
May 25, 2005
577
0
0
ftp transfers dont check for IP addresses once the session has been established. it'll continue to operate until that session ends. No its not possible to change the IP address remotely, unless you have a back door entry. Only way to do it is via a physical console.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: pravi333
ftp transfers dont check for IP addresses once the session has been established. it'll continue to operate until that session ends. No its not possible to change the IP address remotely, unless you have a back door entry. Only way to do it is via a physical console.

Well, you actually can change the IP address remotely, quite easily. But you have to be able to connect to it's current IP address in order to do so.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
ftp transfers dont check for IP addresses once the session has been established.

But the packets are still sent to the same addresses once the stream is established so it'll only continue to operate if the old IP is still reachable.