shithub: rc

ref: c1a707427fbbb5129e467516fc671e976ee3e398
dir: /rachael/

View raw version
#!/bin/rc -x
# 2024-07-02T22:28:16-04:00
rfork e
host=rachael.inri.net
vnc=192.168.1.202:0
switch($1){
case -f
	sshfs -o idmap'='user,allow_other,uid'='1000,gid'='1000 sl@rachael.inri.net:/ /n/rachael
case -m
	sshfs -s $host.$user.$pid -m /n/rachael -r / $user@$host
case -v
	rfork n
	sshnet $host &&
	window -m vncv $vnc
case *
	label $host &&
	ssh $host $*
}