9 мар. 2009 г. · You can do the following: ssh -t xxx.xxx.xxx.xxx "cd /directory_wanted ; bash --login" This way, you will get a login shell right on the directory_wanted. |
7 апр. 2010 г. · This should work for you ssh -t second_machine "cd /very/long/path/to/directory/; bash" Assumes you're wanting to run bash, substitute for a different shell if ... |
30 мая 2011 г. · I am trying to ssh from one machine to another within a Python script (Nautilus script). It works with the following: ssh -t user@server "cd /home/some/dir ; ... |
20 авг. 2010 г. · You can also change the directory within PuTTY itself: Configuration → Connection → SSH. Fill in the "Remote command" field with the ... |
2 янв. 2020 г. · The default location of various items is ~/.ssh . There is no option to change that directory, though various options exist for individual ... |
14 апр. 2014 г. · Create the folder C:\Users\your_username\.ssh then copy your ssh files (the extensionless private key and the public key ending in .pub ) to there. |
23 июл. 2015 г. · The preferred way would be creating ~/.zshrc or ~/.bashrc file on your remote host or appending to the end just: cd your/working/directory/. |
13 апр. 2016 г. · Basically, find a way to make sure that you're not actually changing directories and the returned value from the command isn't just throwing you off. |
12 янв. 2022 г. · I want to ssh from my local linux computer into a specific directory on a windows 10 remote. The shell that is used on the remote is git bash. |
28 июн. 2022 г. · Open Windows Command Prompt, you should be able to see if there is a .ssh/ subdirectory by using the change directory command like so: cd .ssh/ (you need the ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |