[X2Go-User] OpenSuse Leap 42

Robert Dinse nanook at eskimo.com
Sun Jan 22 14:31:19 CET 2017


$ ssh nanook at opensuse.eskimo.com 'bash -l -c "echo foo"' <&-
Password:
stty: standard input: Inappropriate ioctl for device
foo
$ hostname
nanook
$

      So it is printing that error message and then disconnecting.

      On a machine where x2go works properly (this example is centos7):

$ ssh nanook at centos7.eskimo.com 'bash -l -c "echo foo"' <&-
nanook at centos7.eskimo.com's password:
foo
$ hostname
nanook

      You can see the only difference is that on the machine that works, it
disconnects without printing an error message, where as with opensuse it prints 
and error message before disconnecting.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
    Knowledgeable human assistance, not telephone trees or script readers.
  See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Sun, 22 Jan 2017, Mihai Moldovan wrote:

> Date: Sun, 22 Jan 2017 14:18:46 +0100
> From: Mihai Moldovan <ionic at ionic.de>
> To: Stefan Baur <X2Go-ML-1 at baur-itcs.de>, Robert Dinse <nanook at eskimo.com>
> Cc: x2go-user at lists.x2go.org
> Subject: Re: [X2Go-User] OpenSuse Leap 42
> 
> On 22.01.2017 12:58 PM, Stefan Baur wrote:
>> Am 22.01.2017 um 12:54 schrieb Robert Dinse:
>> Since you can use if-clauses in such scripts, I wouldn't have wanted to
>> rule that out before checking.  Also, connecting interactively with
>> plain ssh does do things differently - wait: what happens when you do this:
>>
>> ssh user at host echo
>>
>> ssh -T user at host echo
>>
>> ssh -t user at host echo
>
> X2Go does things differently, it spawns a non-interactive login shell.
>
> Let's try ssh user at host 'bash -l -c "echo foo"' <&- instead.
>
>
> Mihai
>
>


More information about the x2go-user mailing list