Skip to content

Instantly share code, notes, and snippets.

@mariow
mariow / moshalias.pl
Last active August 31, 2023 11:13 — forked from lexande/moshalias.pl
#!/usr/bin/perl
my $ssh=`which ssh`;
my $mosh=`which mosh`;
chomp($ssh);
chomp($mosh);
my $host;
my $unsupported=0;
for (my $i=0; $i <= $#ARGV; $i++) {
@mariow
mariow / secondsshd.sh
Created August 4, 2012 06:40
Start second sshd process
# remember to open port 223 in iptables!
/usr/sbin/sshd -Dd -p 223