Re: setting current dir of remote shell

This is a discussion on Re: setting current dir of remote shell within the OpenSSH Development forums, part of the Networking and Network Related category; Peter Stuge wrote: > Bob Proulx wrote: > > I wish ssh had an option (e.g. -oCommanShell=/bin/sh) &...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-30-2007
Bob Proulx
 
Posts: n/a
Default Re: setting current dir of remote shell

Peter Stuge wrote:
> Bob Proulx wrote:
> > I wish ssh had an option (e.g. -oCommanShell=/bin/sh)

>
> That would allow the client to circumvent any security policy usually
> enforced by the shell on the server, which is a rather bad idea.


Uhm... Why? I don't understand. (But I can appreciate that a naive
implementation may create problems.)

Normally a user can invoke any arbitrary command on a remote machine.
Invoking /bin/sh is just another command at that point. It will
either be allowed or it won't be allowed by the security policy
enforced on the server. Therefore I don't understand the issue as
raised. I don't see how in principle this would circumvent the server
security policy.

Bob
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0