Hi, Michael,
as a workaround you could create a tunnel (or port forwarding) from your
machine to the ssh server and bind port 22 on the local machine to the
non-standard ssh port of the remote host.
the command will look like this:
$ *ssh -L 127.0.0.1:22:remote-ssh-server:remote-ssh-port
remote-username@remote-ssh-server -p remote-ssh-port -i private-key*
Of course, it will require root privileges to bind port 22 and the command
won't work if port 22 is already occupied by running ssh server.
After that, you could submit your jobs to localhost - it will forward them
to remote ssh server.
I think the same thing is doable under Windows using  plink or cygwin.

Best wishes,


пн, 8 июн. 2020 г. в 18:40, Michael Weyand <michael.wey...@uni-bayreuth.de>:

> Dear CCP4I2 experts,
>
> I'm trying to submit remote jobs via SSH within CCP4i2. Unfortunately,
> we use a non standard SSH port.
> So far, I'm not able to add any option within the CCP4I2 interface. For
> job submission, I need something to do like
>
> 'ssh -p XXXXX -Y ..... ccp4i-specific-command ...'.
>
> Is there any chance to enter this '-p' SSH option within CCP4i2? I tried
> already to define a "ssh command" via "Preferences".
> But so far without any success.
>
> I'm also wondering why there is a sshkey file option. If an user already
> uses a ssh-key for a client/server connection, why is necessary to
> re-input the key file again?
> Any ssh between client and server should work from scratch ...
>
> Any hints are highly appreciated,
> Michael
>
> ########################################################################
>
> To unsubscribe from the CCP4BB list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
>
> This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a
> mailing list hosted by www.jiscmail.ac.uk, terms & conditions are
> available at https://www.jiscmail.ac.uk/policyandsecurity/
>


-- 
Evgenii Osipov
Laboratory for Biocrystallography,
Department of Pharmaceutical Sciences,
KU Leuven O&N2

########################################################################

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1

This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to