SSH Session and SCP with Mac Terminal
Written by vaheeD on December 31, 2012
It’s easy to connect to SSH on Mac OSX through Terminal.
Launch Mac Terminal
To begin, let’s open Terminal
There are two ways you can do this:
- Query ‘Terminal’ in Spotlight, or
- Navigate to Applications/Utilities/Terminal
Login to SSH via Mac Terminal
This section of the tutorial assumes you have ‘root’ access, if you don’t, simply change ‘root’ where necessary.
Type:
ssh root@yourserverip
Copy file via SCP via Mac Terminal
Type:
scp /Downloads/file.zip root@yourserverip:
TIP : end of yourserverip ” : ” is a home folder user root
If all went to plan, enter your password when prompted, then hit enter.
Note: Your password will not appear as you type it for security purposes.