Re: Using tar in forced ssh command?
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 02/22/05
- Previous message: neville_at_whitespacestudio.com: "Re: SCP failing"
- In reply to: Michael Heiming: "Using tar in forced ssh command?"
- Next in thread: Simon Tatham: "Re: Using tar in forced ssh command?"
- Reply: Simon Tatham: "Re: Using tar in forced ssh command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 22 Feb 2005 16:33:46 +0100
In comp.security.ssh Michael Heiming <michael+USENET@www.heiming.de>:
> Slight problem with an ssh forced command. (Using OpenSSH_3.6.1p2
> - latest update for RH ES 3.0)
> Something like this works as expected:
> ssh box "tar -cvjf - /path" > file.tar.bz2
> Now setting a forced command in ~/.ssh/authorized_keys on "box" seems to
> work, but alas output is garbage:
> command="tar -cvjf - /path" ssh-dss ....
For the archives, solved! The trick is to simply add ",no-pty"
directly behind 'command="...."', go figure...;)
-- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 182: endothermal recalibration
- Previous message: neville_at_whitespacestudio.com: "Re: SCP failing"
- In reply to: Michael Heiming: "Using tar in forced ssh command?"
- Next in thread: Simon Tatham: "Re: Using tar in forced ssh command?"
- Reply: Simon Tatham: "Re: Using tar in forced ssh command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|