PDA

View Full Version : Telneting into account?


Shalazar
05-03-2000, 06:54 PM
This is going to sound odd, but when I telnet into my account, I start in a directory labelled:

/big/dom/xmydomain/myusername

with the command line representing:

[username@FQ-Seven:~ ]

Is there a way, at least in SecureCRT, to change the place where you log in via telnet?[nbsp][nbsp]I ask because it would be much simpler to have several login sessions like I do in WSFTP, for various things like cgi-bin, or www, or subdirectories, etc. based on need.

Thanks, as always.


[This message has been edited by Shalazar (edited 05-03-00@11:25 pm)]

Justin
05-03-2000, 09:23 PM
Not sure about SecureCRT options, but it only takes a second to type </font><font face="Courier" size="3">cd ../www</font><font face="Verdana, Arial" size="2"> or </font><font face="Courier" size="3">cd ../cgi-bin</font><font face="Verdana, Arial" size="2">...

If you want to set your login to a particular directory, you can add a line to your </font><font face="Courier" size="3">.bashrc</font><font face="Verdana, Arial" size="2"> file, for example:

</font><font face="Courier" size="3">cd ..</font><font face="Verdana, Arial" size="2">

Which would put you at </font><font face="Courier" size="3">/big/dom/xyourdomain</font><font face="Verdana, Arial" size="2">...

As for SecureCRT, try searching the help files for something along the lines of &quot;initial directory&quot; or &quot;start directory&quot;, or possibly somewhere to enter a command to execute upon login (which would be similar to the </font><font face="Courier" size="3">.bashrc</font><font face="Verdana, Arial" size="2"> idea except you might be able to do various logins with various directories)...

Hope this helps.


------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support