SSH ip command

If you wish to obtain information about your server’s IP on a Linux machine using SSH you can use the SSH ip command. This is a very handy and useful command suitable for all beginner users as the IP is one of the most important assets of a Dedicated server. In this article, we will show you the basic usage of the SSH ip command.

Display all network interfaces and their assigned IP addresses with SSH

ip a

Switching between IPv4 and IPv6 using SSH

ip -4 a
ip -6 a

Assign an IP address to an interface

ip a add IP dev INTERFACE
ip a add 1.1.1.1 dev eth0

Delete an IP address from an interface with SSH ip command

ip a del IP dev INTERFACE
ip a del 1.1.1.1 dev eth0
  • 1 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

How to Install WordPress via SSH

Since WordPress is the most widely used CMS it’s installation process has been made as simple and...

SSH Execute Command on a Remote server

Via SSH you can connect to a remote server’s shell. This will allow you to execute commands on...

How to connect to your shared hosting account via SFTP with FileZilla

SFTP is a convenient way to use SSH, while also using the interface of a simple FTP. In order to...

SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH...