[NTLUG:Discuss] Help with ssh

Mittelgeek mittelgeek at gmail.com
Thu Jan 29 09:40:35 CST 2015


The man page for ssh (OpenSSH 6.2p2) says that -X is to enable X11
forwarding. Are you trying to open X applications remotely?

"He who has a why to live can bear with almost any how." - Friedrich
Nietzsche

On Thu, Jan 29, 2015 at 7:45 AM, Greg Edwards <greg at edwards-tx.us> wrote:

> Have you tried without the -X option?
>
> Greg Edwards
> http://greg.edwards-tx.us
>
> On 1/29/2015 12:47 AM, Fred wrote:
>
>> Another issue has cropped up.
>>
>> My main puter has several users. I usually log into
>> my personal acct and ssh -X to the others as needed
>> for various activities: mail, invoices, etc It may not
>> be the optimum solution but it has worked well for
>> a few years now. The usual access to those accounts
>> is:
>> fred -> ssh -X -p2279 username at localhost
>>
>> then input the password and go. I am now in the
>> process of moving everything over to another
>> puter and need to look at these accounts with
>> the new box. When I substitute the main's IP address
>> in place of "localhost" in the above example,
>> the process starts and then hangs. The title
>> bar of the console window is labeled with the
>> username and IP address of the old system, so
>> it gets that far along. Here is the output of the -v option:
>>
>>   fred at new:~> ssh -v -X -p 2279 username at 192.168.1.102
>> OpenSSH_6.2p2, OpenSSL 1.0.1j 15 Oct 2014
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: /etc/ssh/ssh_config line 20: Applying options for *
>> debug1: Connecting to 192.168.1.102 [192.168.1.102] port 2279.
>> debug1: Connection established.
>> debug1: identity file /home/fred/.ssh/id_rsa type -1
>> debug1: identity file /home/fred/.ssh/id_rsa-cert type -1
>> debug1: identity file /home/fred/.ssh/id_dsa type -1
>> debug1: identity file /home/fred/.ssh/id_dsa-cert type -1
>> debug1: identity file /home/fred/.ssh/id_ecdsa type -1
>> debug1: identity file /home/fred/.ssh/id_ecdsa-cert type -1
>> debug1: Enabling compatibility mode for protocol 2.0
>> debug1: Local version string SSH-2.0-OpenSSH_6.2
>> And then it hangs....
>>
>> Yes, both machines are on the same LAN. Obviously
>> I am missing something very basic but it eludes me.
>> Any helpful pointers would be appreciated.
>>
>> Thanks,
>> Fred
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>>
>>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>


More information about the Discuss mailing list