- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH error - Bad configuration option: PermitLocalC...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 11:29 AM
тАО04-08-2008 11:29 AM
When I scp to any client, I get this.
I cannot find PermitLocalCommand in any sshd_config file.
Why is this happening, what can I do?
/usr/local/bin #:./scp -v -v -v /tmp/a baja1:/var/tmp
Executing: program /usr/local/bin/ssh host baja1, user (unspecified), command scp -v -t /var/tmp
command-line: line 0: Bad configuration option: PermitLocalCommand
lost connection
#
#:ssh -v
OpenSSH_3.0p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
hp-ux 11.00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 11:39 AM
тАО04-08-2008 11:39 AM
Re: SSH error - Bad configuration option: PermitLocalCommand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 12:16 PM
тАО04-08-2008 12:16 PM
Re: SSH error - Bad configuration option: PermitLocalCommand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 12:53 PM
тАО04-08-2008 12:53 PM
SolutionScp and sftp add it to the command line they run. For example:
addargs(&args, "-oPermitLocalCommand no");
Your sftp and scp executables are using the
wrong ssh executable.
Sftp and ssh set a number of options when
invoking ssh. PermitLocalCommand
is one of them.
The PATH might be setup however you like,
but the scp has the preferred path to the
ssh built into it.
If you do:
# strings scp | grep \/
... you will see the default
path to the binary for ssh.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 01:54 PM
тАО04-08-2008 01:54 PM