Note: These instructions are for my future self.
Assuming you have a remote server with the following details –
IP Address: 192.168.1.1
Username: rockstar
Password: ********
In case you don't remember your remote server's IP address, you can find that out from - (1) the remote server provider (2) the registrar of your domain(s) (3) plugging in your domain on DNS Checker.
Enter –
ssh rockstar@192.168.1.1
You'll be asked if you want to save the fingerprint, enter yes
. Then use your password to login.
Repeat the proces in future.
Caution: In case you have changed the ssh port number on your remote server, add the -p
flag to manually define the port number in Terminal.
Press Cmd + S
to open the Site Manager. Add a new site and give it the name you want. Then –
- Select the
SFTP
protocol. - Enter
192.168.1.1
as Hostname and22
as port number. - Enter your username and password.
- Click connect. Add fingerprint to local machine and save password.
In future just press Cmd + S
and Enter
to connect to your server.