Jump to content

Sending emails via command line: Difference between revisions

Line 43: Line 43:
===SSH===
===SSH===
----
----
To login to a RUTxxx router via SSH, download the free '''PuTTY''' app if you're using Windows; if you're using a Linux based OS, just use the '''Terminal''' app. In both cases you will need to know three things: the router's LAN IP address, user name and password. The default LAN IP address for all RUTxxx routers is '''192.168.1.1'''; the default login information is user name: '''root'''; password: '''admin01''' (NOTE: the user name used for SSH connections (i.e., root) is not the same as the user name used to login to the router's WebUI (i.e., admin)).
To login to a RUTxxx router via SSH, download the free '''PuTTY''' app if you're using '''Windows'''; if you're using a Linux based OS, just use the '''Terminal''' app. In both cases you will need to know three things: the router's LAN IP address, user name and password. The default LAN IP address for all RUTxxx routers is '''192.168.1.1'''; the default login information is user name: '''root'''; password: '''admin01''' (NOTE: the user name used for SSH connections (i.e., root) is not the same as the user name used to login to the router's WebUI (i.e., admin)).
 
----
If you're using PuTTY, enter the router's LAN IP address into the '''Host Name (or IP address)''' field, select SSH Connection type and click '''Open''':
* Open PuTTY; enter the router's LAN IP address into the '''Host Name (or IP address)''' field, specify '''port 22''', select SSH Connection type and click '''Open''':


[[File:Putty login 1 v2.PNG]]
[[File:Putty login 1 v2.PNG]]
Line 51: Line 51:
After this you will be prompted to enter the user name and password.  
After this you will be prompted to enter the user name and password.  
----
----
If you're using Linux, open up a new Terminal and type in this command:
* If you're using '''Linux''', open a new Terminal window, type '''ssh [email protected]''' and press "Enter". If this is your first time logging in, you might be asked to clarify whether you really want to login. In that case, just type '''yes''' and press "Enter". Then type in the router's admin password and press "Enter" to finish the login process:  
 
 
If you made changes to your router's LAN IP address or login name, replace the relevant data in the command above so that it is correct for your specific case. After executing this command you will prompted with a query that says "Are you sure you want to continue connecting (yes/no)?". Type '''yes''', press "Enter" and type in your router's admin password. If everything went successfully, you should be greeted with a window such as this:


[[File:Ssh linux login v2.png]]
[[File:Ssh linux login v2.png]]