I'm having problem getting the right "env" for SSH. This is currently happenning after logging in to the RH server using SSH. I can run any program with no problem using telnet. It looks like that when using SSH with same LOGIN ID as what I'm using with telnet - SSH couldn't hold the actual environment variables.
1.) Is there any parameters or setup I should look into to resolve this?
2.) Also, i setup/configured VPN to aknowledge incoming SSH from a particular IP, but I got "ssh: connect to host XXX.xxx.xxx.xxx port 22: Connection refused (xxx=public IP address). Locally (meaning, within LAN), I can SSH the RH server.
1.) Is there any parameters or setup I should look into to resolve this?
2.) Also, i setup/configured VPN to aknowledge incoming SSH from a particular IP, but I got "ssh: connect to host XXX.xxx.xxx.xxx port 22: Connection refused (xxx=public IP address). Locally (meaning, within LAN), I can SSH the RH server.