-1

When I try to scp a file to a router on its console port, it says: "lost connection"

Is it not possible to share a file with the router on console port? If not, why?

2 Answers 2

4

SCP requires SSH which requires a working TCP/IP connection which doesn't exist over a console connection. Unless the Juniper supports terminal-style file transmission like XMODEM or ZMODEM (which I don't think), you're out of luck.

1

So, SCP will use TCP/IP to transfer that file, but Serial does not work that way. Now, if using two linux servers (for example) there are some ways of doing this like piping the output to devTTY for example or installing some terminal software to handle this on either side.

But, JunOS running on your Juniper router is a locked down platform which certainly does not allow you to install some new terminal software/drivers to accommodate this.

Think outside the box here, can you not pass a command over console to download a configuration from an FTP directory or WWW?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.