Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- putty client to sshd server (openssh)
March 10, 2011, 6:48 pm
rate this thread
I set up some tests to do some simple 'scp' commands from different
client machines, and now I'm testing the ability to restrict access
using the 'command=' option, starting with the most simple commands
like "/bin/echo this is a test"
When I execute an 'scp' or 'ssh' command to the server from my mac OS
X client, it works perfectly fine.
However, when I run a 'putty' or 'pscp' command from a windows 7
client, I get
"Fatal: Out of memory"
without the 'command=' option, all 'putty' and 'pscp' commands work
Other restrictive options to the '.ssh/suthorized_keys' file work
fine; e.g. 'no-port-forwarding'.
I tried searching this group to see if this issue has been addressed,
but had no luck.
The only thing I can guess at this point is that somehow 'putty' and
'pscp' act fundamentally different somehow. For example, 'scp' and
'ssh' run from a mac terminal window runs the commands in this window
entirely, but when I issue 'pscp' and 'putty' commands in a Windows 7
'Command Prompt' window, another window opens where the commands are
actually performed (which is not desirable anyway).
Sorry if this issue has been addressed already and thanks in advance
to anyone who can point me to a resolution.
- » ssh connect failed with Software caused connection abort
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum