middleware:Globus/service/gsissh
From Dgiref
| Firewall configuration
|
configure
To configure the 'gsissh' start script do the following as 'root':
su root cp $GLOBUS_LOCATION/sbin/SXXsshd /etc/init.d/gsisshd chkconfig --add gsisshd
As 'globus' user change the port number from 22 to 2222 in the following files:
su globus cat $GLOBUS_LOCATION/etc/ssh/ssh_config cat $GLOBUS_LOCATION/etc/ssh/sshd_config
As 'root' start the 'gsissh' daemon with the following command:
su root /etc/init.d/gsisshd start
setting up as service
- In order to work with the GSI-SSH Service, the following line must be inserted as 'root' in the file /etc/services:
gsissh 2222/tcp
- In /etc/hosts the IP address of the server must be mapped to the FQDN as follows:
<IP ADDRESS> <FQDN> <hostname>
- Additionaly, insert as 'root' the following entries in the file /etc/hosts.allow:
echo "gsisshd:ALL:ALLOW" >> /etc/hosts.allow
proceed
service gsisshd [start|stop]