Mac/Linux/Unix Using Terminal
Overview
You will be logging in to login.utulsa.edu with SSH. Using the SSH command you will be creating a secure port to orgs.utulsa.edu. From there you can use SCP, SFTP, FTP, Fetch, on your machine where you are connecting to orgs.
To get connected complete Step 1 then you may go on to Step 2.
Step 1: Setting Up the Port
1. In a Terminal window type the ssh command:
ssh -l username -L 12345:orgs.utulsa.edu:22 login.utulsa.edu
where:
- username = your username on login.utulsa.edu
- 12345 = any number above 1024. This will be the port that orgs.utulsa.edu is pointing to.
2. Enter your campus username and password. Type Yes if you are asked the security acceptance question.
3. Leave the terminal window running. You may minimize it.
Step 2: Connecting to Orgs
The SSH command above set up an open connection to orgs with the hostname called localhost on the port 12345 (using the example above). Leave the terminal window where you ran the above command running; you may minimize it.
Select the tool that you are using.
--Using SCP in Terminal
scp -oPort=12345 * org-username@localhost:/home/org-username/public_html
where:
- org-username = the username that you login in with on orgs.utulsa.edu
- 12345 = the port that you set in your ssh command
--Using SFTP in Terminal
sftp -oPort=12345 org-username@localhost
where:
- org-username = the username that you login in with on orgs.utulsa.edu
- 12345 = the port that you set in your ssh command
--Using SSH in Terminal
ssh -l org-username -oPort=12345 localhost
where:
- org-username = the username that you login in with on orgs.utulsa.edu
- 12345 = the port that you set in your ssh command
--Using Fetch
- Open a New Connection.
- Enter the following parameters:
[ View Image ]
- Hostname: localhost
- Username: the username that you use to log onto your org.
- Password: the password that goes with that username
- Click the arrow to expand the options.
- Initial folder: this is optional. This is the initial folder location where you want to start.
- Port: enter the port number that you used in the SSH command. For our example it is 12345.
|