Upgrade Shells
Windows
Set Env:
$env:Path = 'C:\Windows\System32;C:\Windows\System32\WindowsPowershell\v1.0\;' + $env.Path
Python
python -c 'import pty; pty.spawn("/bin/bash")'
TTY upgrade
(make sure not in rlwrap)
python3 -c 'import pty; pty.spawn("/bin/bash")'
CTRL + Z
stty raw -echo; fg
export TERM=xterm-256color
stty rows 50 columns 236
SSH
mkdir .ssh
echo "RSA.PUB" > authorized_keys
chmod 0700 .ssh
chmod 0644 authorized_keys
Ssh -o "UserKnownHostsFile=/dev/null" -N -o "StrictHostKeyChecking no" -i "c:/Software/key"
Last updated