Re: [SLUG] Pulling hair out...

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Jun 15 2005 - 23:19:54 EDT


On Wed, 15 Jun 2005, Chuck Hast wrote:

> I just sshed in from a windoz box running putty which allows you to not
> close the session when it caves in,

There's a field at <main window> -> Connection -> SSH for "Remote command";
that might be useful for things like "echo appname | sh" (no quotes). Not a
good solution for end users, but OK for fooling around.

> here is the results of the login...
>
> login as: fpacuser
> fpacuser@n4xeo.no-ip.com's password:
> Welcome to Knoppix (Kernel 2.4.22-xfs)

Well heck. The "Welcome to Knoppix" line is printed when login is
successful, so username/password are OK. Past that, geez. Um, is anything
useful printed in /var/log/messages or the application's log file? Is the
app listed in /etc/shells? How about making a script that contains

,--
| #! /bin/sh
| exec that_app
'--

and set it as the shell? (Take the stuff out of ~fpacuser/.profile if
there's any.) My hope in this case is that the app doesn't like the
environment /sbin/sshd sets up for it, and maybe /bin/sh would be more to
its liking.

> as soon as it prints the last line and a emply line or so, it flashes a
> box saying that the connection has been dropped.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?           [TOFU := text oben,
A: Top-posting.                                       followup unten]
Q: What is the most annoying thing on usenet?        -- Daniel Jensen

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:13:04 EDT