myssh wraps ssh connections to override the remote ~/.profile and /.bashrc files with your local */.mysshrc* using netcat locally and netcat, telnet, or bash's /dev/tcp/ functionality on the remote host
myssh was inspired by sshrc and was created as a one-off when I couldn't remember the name of the sshrc project :-D
sshrc is more mature, uses xxd instead of netcat and port forwarding, you probably should use it instead
- myssh [additional SSH options] user@host
- Local: ssh, bash, netcat
- Remote: sshd, bash, One of the following: netcat, telnet & sed, bash's /dev/tcp/ functionality
- Checkout the myssh project or download the myssh file
- Make myssh executable
- Create a ~/.mysshrc file with the rc settings you'd like (mysshrc.example is a good start)
Thanks to sshrc for the concept
- If the 12345 port is already in use, myssh will not connect; this is on purpose, you don't want to grab another user's .mysshrc file. In the future we should drop the remote forwarded port after the file copy.
- myssh will trade your first-born for a frapuccino and will kick your dog, you have been warned!