Difference between revisions of "SSHtoHDA"
(Created page with 'It might be useful to connect to your HDA using SSH from another machine on your network. For example, it would be easier to run the [[Network_troubleshooting|Interactive Networ…') |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Or, if physical access to your HDA is complicated, it might be easier to just SSH into it than to try to work on it physically. | Or, if physical access to your HDA is complicated, it might be easier to just SSH into it than to try to work on it physically. | ||
− | Here's how to SSH into your HDA. | + | Here's how to simply SSH into your HDA. |
+ | |||
+ | Note: If you'd like to setup a more permanent & safe way to SSH into your HDA, you can follow detailed instructions on the [[Key-Based SSH Logins]] page. | ||
=All Platforms= | =All Platforms= | ||
Line 11: | Line 13: | ||
Once logged in, if you need to execute commands as root, execute this command, and enter the root password when prompted:<br/> | Once logged in, if you need to execute commands as root, execute this command, and enter the root password when prompted:<br/> | ||
− | < | + | |
+ | <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> | ||
+ | su - | ||
+ | </div> | ||
=Windows= | =Windows= | ||
Line 21: | Line 26: | ||
This file is a portable executable. That is: it does not install anything, but run from where they are saved. | This file is a portable executable. That is: it does not install anything, but run from where they are saved. | ||
+ | |||
+ | You can also install the [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Windows installer for Putty] (it puts it in the start menu). | ||
==Run PuTTY== | ==Run PuTTY== | ||
Line 33: | Line 40: | ||
You'll now see a terminal window. In there, type the following command: | You'll now see a terminal window. In there, type the following command: | ||
− | < | + | <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> |
+ | ssh username@ip_address | ||
+ | </div> | ||
Replace ''username'' with your Fedora username, and ''ip_address'' with your HDA' IP address. | Replace ''username'' with your Fedora username, and ''ip_address'' with your HDA' IP address. | ||
Line 39: | Line 48: | ||
Example: | Example: | ||
− | < | + | <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> |
+ | ssh joe@192.168.0.2 | ||
+ | </div> | ||
=Linux= | =Linux= | ||
− | Open a terminal from the menus (System menu | + | Open a terminal from the menus (Applications > System Tools menu in Fedora). |
In the window that appears, type the following command: | In the window that appears, type the following command: | ||
− | < | + | <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> |
+ | ssh username@ip_address | ||
+ | </div> | ||
Replace ''username'' with your Fedora username, and ''ip_address'' with your HDA' IP address. | Replace ''username'' with your Fedora username, and ''ip_address'' with your HDA' IP address. | ||
Line 52: | Line 65: | ||
Example: | Example: | ||
− | < | + | <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> |
+ | ssh joe@192.168.0.2 | ||
+ | </div> |
Latest revision as of 19:01, 7 March 2010
It might be useful to connect to your HDA using SSH from another machine on your network.
For example, it would be easier to run the Interactive Network Troubleshooter that way, since you'll be able to copy and paste commands and results to and from the terminal window while following the troubleshooter instructions. Or, if physical access to your HDA is complicated, it might be easier to just SSH into it than to try to work on it physically.
Here's how to simply SSH into your HDA.
Note: If you'd like to setup a more permanent & safe way to SSH into your HDA, you can follow detailed instructions on the Key-Based SSH Logins page.
All Platforms
Upon connecting, you'll be asked for your username and password. Enter the username and password you created when you installed Fedora.
Once logged in, if you need to execute commands as root, execute this command, and enter the root password when prompted:
su -
Windows
Install Putty
Download the following file from the PuTTY download page and save it on your Windows system, e.g. on the desktop:
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
This file is a portable executable. That is: it does not install anything, but run from where they are saved.
You can also install the Windows installer for Putty (it puts it in the start menu).
Run PuTTY
Start PuTTY by double-clicking its executable file. You are now in the category Session (see the tree on the left side of the screenshot). Enter your HDA IP address under Host Name (or IP address), enter 22 under Port and select SSH under Protocol. The click the Open button.
Mac OS X
Use the Finder to navigate to Applications : Utilities. Start the Terminal.app application in this directory.
You'll now see a terminal window. In there, type the following command:
ssh username@ip_address
Replace username with your Fedora username, and ip_address with your HDA' IP address.
Example:
ssh joe@192.168.0.2
Linux
Open a terminal from the menus (Applications > System Tools menu in Fedora).
In the window that appears, type the following command:
ssh username@ip_address
Replace username with your Fedora username, and ip_address with your HDA' IP address.
Example:
ssh joe@192.168.0.2