Login  Register

Re: Reconfigure SFTP from to use the Client Access Network

Posted by ErmanArslansOracleBlog on Jun 18, 2015; 10:20am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Reconfigure-SFTP-from-to-use-the-Client-Access-Network-tp376p377.html

Hi,

I dont think it will be a supported action, but it can be  done.

So,

SFTP uses port 22 as it is running over SSL tunnels.
So , making the SSHD to listen on the relevant Client Interface / IP will do the job.

When you look at the /etc/ssh/sshd_config file,
you will see the following;

#### Generated by Exadata by ipconf. BEGIN. DO NOT MODIFY ####
ListenAddress YOUR_MANAGEMENT_NETWORK_IP_OF_NODE1
ListenAddress YOUR_PRIVATE_NETWORK_IP_OF_NODE1


So, in order make sftp to work from the client interface;
add the following line replacing your client_ips in both of your compute nodes and restart the sshd services.

#For the first node;

ListenAddress YOUR_CLIENT_NETWORK_IP_OF_NODE1

#For the second node;

ListenAddress YOUR_CLIENT_NETWORK_IP_OF_NODE2



[root@ermanexanode2~]# service sshd restart
Stopping sshd:                                             [  OK  ]
Starting sshd:                                             [  OK  ]