2013/9/17 Steffen Daode <[email protected]>: > Roy Tam <[email protected]> wrote: > |> |SSH is perfectly fine to use in all circumstances. > |> > |> Definitely not for me, i have a bunch of VMs in a secured private > |> network with 128 MB RAM each, and it makes a difference wether > [.] > |comparing with a login shell: > |roy 1965 0.3 0.5 2436 720 pts/0 Ss 20:11 0:00 -mksh > | > |dropbear doesn't use that much: > |root 1716 0.0 0.4 2656 560 ? Ss 20:10 0:00 > |/usr/sbin/dropbear > > This is indeed so interesting that i'm about to spend the rest of > this day testing it. However, > > |and of course I have a 128MB RAM debian whezzy VM for daily use: > |$ free -h > | total used free shared buffers cached > |Mem: 121M 58M 63M 0B 3.8M 42M > |-/+ buffers/cache: 12M 109M > |Swap: 149M 0B 149M > > you surely stay on the tropical island of musl or nearby?
Nope, it is a standard wheezy installation, which uses standard glibc. > > ?0[steffen@crux3 etc]$ free -h > total used free shared buffers cached > Mem: 114M 106M 7.7M 0B 25M 51M > -/+ buffers/cache: 29M 84M > Swap: 191M 0B 191M > > --steffen > > > ---------- 轉寄訊息 ---------- > From: Roy Tam <[email protected]> > To: Steffen Daode <[email protected]> > Cc: Thorsten Glaser <[email protected]>, [email protected], > [email protected], [email protected] > Date: Tue, 17 Sep 2013 20:15:17 +0800 > Subject: Re: Working around f... GNU inetutils (1.9.1) behaviour > 2013/9/17 Steffen Daode <[email protected]>: >> Thorsten Glaser <[email protected]> wrote: >> |Steffen Daode Nurpmeso dixit: >> | >> |>rlogind(8) (they don't install the server and clients, but use >> | >> |rlogin? Seriously? http://www.openbsd.org/art/SSHPoster2.jpg >> | >> |>SSH >> | >> |SSH is perfectly fine to use in all circumstances. >> >> Definitely not for me, i have a bunch of VMs in a secured private >> network with 128 MB RAM each, and it makes a difference wether >> i need 4 MB for a connection or less than 1 MB. That is, we are >> talking about 3 MB (that is three MB!!) of *saved* memory. >> Three megabytes of memory!! >> I mean, these VMs are not mobile phones or something, but things >> to work with. > > comparing with a login shell: > roy 1965 0.3 0.5 2436 720 pts/0 Ss 20:11 0:00 -mksh > > dropbear doesn't use that much: > root 1716 0.0 0.4 2656 560 ? Ss 20:10 0:00 > /usr/sbin/dropbear > > and of course I have a 128MB RAM debian whezzy VM for daily use: > $ cat /etc/*release|grep PRETTY > PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" > $ free -h > total used free shared buffers cached > Mem: 121M 58M 63M 0B 3.8M 42M > -/+ buffers/cache: 12M 109M > Swap: 149M 0B 149M > >> >> |>to make an hour-long story short, it turns out the GNU >> |>rlogind(8) sets ISTRIP! Total crap!! I'm not sure about the >> | >> |Ahem well. Not sure about ISTRIP. Did you try putting some >> |stty(1) call into ~/.profile or such on the… ahem… server? >> >> Hmm. Indeed i do have stty(1) calls in there: >> >> ?0[steffen@sherwood configs.git-no_reduce]$ git grep stty home/ >> home/.profile: [ -z "${LC_ALL}" ] && command -v stty >/dev/null 2>&1 && >> home/.profile: stty -a | grep utf >/dev/null 2>&1 && { >> home/.profile:if command -v stty >/dev/null 2>&1; then >> home/.profile: ___STTY_RESET="stty `stty -g`" >> >> but ISTRIP? No..? no. Never did that. >> >> |But whatever. I take the hint about GNU bash and will look >> |into what other shells do (most specifically AT&T ksh93). >> >> And i think i will open bugs for the FreeBSD and NetBSD >> incarnations of rlogin(1), so as to make GNU appear more pleasant >> for the unaware. Btw.: >> >> ?0[steffen@crux3 steffen]$ pl >> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND >> steffen 22667 0.0 0.9 17816 2464 pts/0 Ss+ 18:25 0:00 -bash >> steffen 22849 0.0 0.3 4552 928 pts/1 Ss 21:12 0:00 -mksh >> >> Ciao, >> >> |bye, >> |//mirabilos >> >> --steffen >> >> >> ---------- 轉寄訊息 ---------- >> From: Thorsten Glaser <[email protected]> >> To: Steffen Daode Nurpmeso <[email protected]> >> Cc: [email protected], [email protected], >> [email protected] >> Date: Mon, 16 Sep 2013 21:22:02 +0000 (UTC) >> Subject: Re: Working around f... GNU inetutils (1.9.1) behaviour >> Steffen Daode Nurpmeso dixit: >> >>>rlogind(8) (they don't install the server and clients, but use >> >> rlogin? Seriously? http://www.openbsd.org/art/SSHPoster2.jpg >> >>>SSH >> >> SSH is perfectly fine to use in all circumstances. >> >>>to make an hour-long story short, it turns out the GNU >>>rlogind(8) sets ISTRIP! Total crap!! I'm not sure about the >> >> Ahem well. Not sure about ISTRIP. Did you try putting some >> stty(1) call into ~/.profile or such on the… ahem… server? >> >> But whatever. I take the hint about GNU bash and will look >> into what other shells do (most specifically AT&T ksh93). >> >> bye, >> //mirabilos >> -- >>> Hi, does anyone sell openbsd stickers by themselves and not packaged >>> with other products? >> No, the only way I've seen them sold is for $40 with a free OpenBSD CD. >> -- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc >> >> > >
