dot/.config/fish/functions/vpssh.fish
2023-04-15 17:20:42 +02:00

3 lines
626 B
Fish

function vpssh --wraps='sshfs phil@46.38.232.163:/srv/ vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --wraps='sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 22 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --wraps='sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --description 'alias vpssh sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect'
sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect $argv;
end