[GE users] qlogin qlogin_wrapper with ssh

Reuti reuti at staff.uni-marburg.de
Sun Jun 11 16:33:07 BST 2006


Am 11.06.2006 um 02:11 schrieb LC Kirkpatrick:

> No firewall on the servers.  rsh uses ssh..  we dont have ssh one  
> servers.  I set that up in mconf
> qlogin_daemon                /usr/sbin/sshd -i
> rlogin_daemon                /usr/sbin/sshd -i
>
> rsh_command                  /usr/bin/ssh
> rlogin_command               /usr/bin/ssh
> qlogin_command               /usr/bin/qlogin_wrapper
>
> -LC
>
> Reuti wrote:
>> Hi,
>>
>> Am 09.06.2006 um 23:28 schrieb LC Kirkpatrick:
>>
>>> I couldnt get qlogin_wrapper working
>>> with
>>> qlogin_wrapper bing
>>> #!/bin/sh
>>> HOST=$1
>>> PORT=$2
>>> /usr/bin/ssh -X -p $PORT $HOST
>>>

Can you please add here -vv to the ssh command and paste the output?  
- Reuti


>>> our interactive job 365 has been successfully scheduled.
>>> Establishing /usr/bin/qlogin_wrapper session to host  
>>> potomac.allen.wiquest.com ...
>>> ssh_exchange_identification: Connection closed by remote host
>>> /usr/bin/qlogin_wrapper exited with exit code 255
>>>
>>> if i edit the file to this and force it to use port 22 it works fine
>>> either take out the "-p $PORT" or specify port 22
>>> ... #!/bin/sh
>>> HOST=$1
>>> PORT=22
>>> /usr/bin/ssh -X -p $PORT $HOST
>>>
>>> it appears to work fine and without problems.  all the servers  
>>> have ssh on them they also have nis and nfs setup...    has  
>>> anyone else done this or will this cuase any problems?
>>
>> is there any firewall in the way? qrsh will use a random port  
>> instead of 22, which might be enabled in your system. - Reuti
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list