[scponly] problem with CISCO devices ?
Armin Wies
armin.wies at mscsoftware.com
Tue Aug 9 10:25:57 EDT 2011
Hi,
On Mon, Aug 1, 2011 at 6:17 PM, Armin Wies <armin.wies at mscsoftware.com> wrote:
> I am not able to scp files from my CISCO devices to my CentOS 5.6
> x86_64 machine with scponly-4.8-5.el5.art installed.
>
> I have tested with jail and simple setup. Both are working fine with
> my OpenSSH-client,
> however if I try to copy files from my CISCO routers or switches, the
> log just spits out lines like this:
>
> Aug 1 13:57:51 MYSERVER sshd[26453]: debug1: Received
> SSH2_MSG_UNIMPLEMENTED for 0
>
> before the client finally times out.
>
> I have noticed that the scp-command looks a bit different [copying from switch…]
>
> Aug 1 13:57:51 MYSERVER scponly[26454]: running: /usr/bin/scp -v -t
> /home/bu/in/fromswitch (username: bu(6666), IP/port: 172.17.X.Y 32161
> 22)
I guess here is the problem.... :
/usr/bin/scp -v -t /home/bu/in/fromswitch
doesn't seem to be valid, as IMHO scp sees /home/bu/in/fromswitch as
the source and the destination is missing.
I actually see this with an strace:
DEBUG1.29480:execve("/usr/sbin/scponlyc", ["scponlyc", "-c", "scp -v
-t /home/bu/in/fromswitch"], [/* 8 vars */]) = 0
DEBUG1.29480:execve("/usr/bin/scp", ["/usr/bin/scp", "-v", "-t",
"/home/bu/in/fromswitch"], [/* 0 vars */]) = 0
DEBUG1.29480:stat("/home/bu/in/fromswitch", 0x7fff885412a0) = -1
ENOENT (No such file or directory)
> from the line [copying with OpenSSH-client]
>
> Aug 1 13:56:52 MYSERVER scponly[26427]: running: /usr/bin/scp -t --
> /home/bu/in/fromlaptop (username: bu(6666), IP/port: 172.17.A.B 35314
> 22)
>
> Is this the problem ?
> Is there something I can do to fix this ?
Is there anyone who can help ?
Do you need further debugging output ?
Any help is appreciated.
Thank you!
More information about the scponly
mailing list