Re: How to SSH-ify an application

From: Kyler Laird (Kyler@news.Lairds.org)
Date: 11/05/02


From: Kyler Laird <Kyler@news.Lairds.org>
Date: Tue, 05 Nov 2002 16:24:14 GMT

Richard Caley <MYFIRSTNAME@MYLASTNAME.org.uk> writes:

>a) Modify it to accept commands from standard input & write to standard
> out if started under the correct name, then make it the login shell
> of a new user. ssh to that user name and you will be talking to
> this service.

...or specify it as the "command" for a key in authorized_keys.
I use SSH for transport of almost everything these days so I do
this a lot. It beats creating a new user for every little
thing.

--kyler



Relevant Pages

  • Re: rssh testing
    ... This doesn't seem right, I would think I should get a command prompt, ... fact that sftp is allowed, ... configure commands via ssh. ... never get a prompt from the remote login shell. ...
    (comp.security.ssh)
  • SUMMARY: how to set correct path?
    ... ven if we login with ssh. ... For BASH login shell, place the system wide ENV variables, such as PATH, ... You can set Use_login in the sshd_config to yes and restart sshd. ...
    (SunManagers)
  • Re: Detailed logging of ssh sessions
    ... >via ssh). ... come in some way from the login shell. ... I'd just experiment with using script in some way ...
    (freebsd-questions)
  • ERRATA : interactive and login shells: bug or design decision ?
    ... when I execute: <ssh user@somesite.com command>, ... but I am expecting my command to run under a login shell. ...
    (SSH)
  • interactive and login shells: bug or design decision ?
    ... When ssh is started interactively, it starts a login shell, but when it is ... started in batch mode it runs my ... command under an interactive shell. ...
    (SSH)