Arriving at a specified directory instead of the user's home
- From: bejoag2@xxxxxxxxx
- Date: 21 Mar 2007 12:28:53 -0700
Hi!
Can I somehow tell ssh to land in a different directory than the home
of the user? I.e., something like this:
ssh -target-dir=/local/cooldir me@themachine
->
me@themachine:/local/cooldir #
or if I could get ssh not to logout after performing a command, that
would be good, too, because the command could be a 'cd':
ssh -dontlogout me@themachine "cd /local/cooldir"
(Just to avoid confusion: the options "-target-dir" and "-dontlogout"
don't actually exist... unfortunately :) )
I am using this version: OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005
Can anyone help with this, please?
Thanks,
Agoston
.
- Follow-Ups:
- Re: Arriving at a specified directory instead of the user's home
- From: Gilles Pion
- Re: Arriving at a specified directory instead of the user's home
- From: Kalyan Manchikanti
- Re: Arriving at a specified directory instead of the user's home
- Prev by Date: Re: Does ssh use telnet options?
- Next by Date: Re: Realm in Username
- Previous by thread: Does ssh use telnet options?
- Next by thread: Re: Arriving at a specified directory instead of the user's home
- Index(es):
Relevant Pages
|
|