Differences
This shows you the differences between the selected revisions of the page.
2020-12-15 | 2022-05-13 | ||
sshpass (martin) | --login (martin) | ||
Line 43: | Line 43: | ||
<code custom-command-local> | <code custom-command-local> | ||
- | cd "!/" ; /bin/bash -login | + | cd "!/" ; /bin/bash --login |
</code> | </code> | ||
Line 51: | Line 51: | ||
<code custom-command-local> | <code custom-command-local> | ||
- | "%ProgramFiles%\PuTTY\putty.exe" -t -m "%TEMP%\putty.txt" !`cmd /C echo cd "!/" ; /bin/bash -login > "%TEMP%\putty.txt"` | + | "%ProgramFiles%\PuTTY\putty.exe" -t -m "%TEMP%\putty.txt" !`cmd /C echo cd "!/" ; /bin/bash --login > "%TEMP%\putty.txt"` |
</code> | </code> | ||
Line 95: | Line 95: | ||
<code custom-command-local> | <code custom-command-local> | ||
- | %SystemRoot%\Sysnative\OpenSSH\ssh.exe !U@!@ -p !# -t "cd !/ ; /bin/bash" | + | %SystemRoot%\Sysnative\OpenSSH\ssh.exe !U@!@ -p !# -t "cd !/ ; /bin/bash --login" |
</code> | </code> | ||
Line 104: | Line 104: | ||
For a better experience, you can execute the ''ssh'' in [[https://www.microsoft.com/store/apps/9n0dx20hk701|Windows Terminal app]]: | For a better experience, you can execute the ''ssh'' in [[https://www.microsoft.com/store/apps/9n0dx20hk701|Windows Terminal app]]: | ||
<code custom-command-local> | <code custom-command-local> | ||
- | wt.exe ssh.exe !U@!@ -p !# -t "cd !/ \; /bin/bash" | + | wt.exe ssh.exe !U@!@ -p !# -t "cd !/ \; /bin/bash --login" |
</code> | </code> | ||
Line 122: | Line 122: | ||
<code custom-command-local> | <code custom-command-local> | ||
- | "%SystemRoot%\Sysnative\bash.exe" -c "ssh !U@!@ -p !# -t 'cd !/ ; /bin/bash'" | + | "%SystemRoot%\Sysnative\bash.exe" -c "ssh !U@!@ -p !# -t 'cd !/ ; /bin/bash --login'" |
</code> | </code> | ||