We help IT Professionals succeed at work.
Get Started

connect to server  and scp

andieje asked
Last Modified: 2012-05-11

I am using Ubuntu 10.04. I normally use Places => connect to server to copy files from another linux machine via ssh.

I have been given a login to a remote machine which i connect via the command line using this command

ssh -X -L 3316:localhost:3316 username@ipaddress

Apparently this login automatically connects to me to another machine (on the same network i think) via ssh

I dont know how to access this machine using 'connect to server' or scp

I tried using 'connect to server' via ssh with a port of 3316 but it fails with message
'cannot display location sftp://username@ipaddress:3316/ timed out when logging in'

I don't know how the -X and -L options from the above can be specified with the ubuntu connect to server feature or even scp

Watch Question
Distinguished Expert 2020
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE