3

I'm using a remote machine, which is in a lab and the administrator ask a RSA public key and then I can login into that machine using a passphrase I set

now I want to use scp to copy local stuff to the remote machine but when I use scp, the error is

ssh: connect to host 138.46.231.12 port 22: No route to host

are there any ways to do that? I'm using fedora, the remote machine is on ubuntu thanks!

2
  • 2
    What have you tried? What errors are you getting? Do you have rights to the destination path on the remote computer?
    – Ed Manet
    Dec 21, 2012 at 16:21
  • I have updated the error
    – wenzi
    Dec 21, 2012 at 16:39

2 Answers 2

4

It should just be:

scp /local/path/to.file <user>@<ubuntu machine>:/remote/path/

from terminal on your Fedora machine. Do you receive an error? What is the output after running the command?

0
1

The problem you describe has nothing to do with ssh or scp.

Obviously you had a network configuration issue (probably a default route which wasn't correctly set).

1
  • How would ssh work if this were the problem? Dec 21, 2012 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .