Router commands baffle me... 2

Posted by MikeIsGo Wed, 15 Jul 2009 20:50:00 GMT

So I'm working on this project that involves talking to routers.  What baffles me is a Cisco router has a feature in its copy command to do and "scp" secure copy, but it gives you no way to configure what port you want to have it talk on.  Sure thats fine and good if your ssh server is running on a standard port 22.

Unfortunately for me the ssh server I need it to talk to is not on a standard port

RESULT: mike is sad.

Trackbacks

Use the following link to trackback from your own site:
http://acts-as.iammikesdomain.com/trackbacks?article_id=7

Comments

Leave a comment

  1. Avatar
    HoJoNation 5 days later:

    I asked one of our infrastructure guys here and he said he thinks you should be able to specify the port with the URL. Something like:

    copy scp:10.1.2.3:25 bootflash:

    My guess is you already tried that and it didn’t work but I thought I’d pass it along just in case. No guarantees of course.

  2. Avatar
    Mike 18 days later:

    Yeah .. we had tried that.. whatever the current version of IOS on those things was it didn’t support it at all. I’m over that now we worked around it with some creative IPTABLEs stuff.

Comments