mnis2008
asked on
scp/ftp to DMZ linux server
Hello Experts
I have a linux server in DMZ running RHEL4, How do I copy a tar file to this server. I can ssh to the server but I am not able to FTP. So what could be the fix
Steve
I have a linux server in DMZ running RHEL4, How do I copy a tar file to this server. I can ssh to the server but I am not able to FTP. So what could be the fix
Steve
If you are accessing your box with Windows then use winscp to copy your file or if you using linux to access your box then use scp/sftp to copy your file.
ASKER
I tried to scp from a server in the local network to a server in DMZ
This is the error I got
root@csc06add1# scp krb5cc_100004 gsteve@DMZSERVER:/tmp
ssh: connect to host lpv042 port 22: Connection timed out
lost connection
This is the error I got
root@csc06add1# scp krb5cc_100004 gsteve@DMZSERVER:/tmp
ssh: connect to host lpv042 port 22: Connection timed out
lost connection
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
show us the ssh command you use to connect to the dmz box.
ASKER
The command I used was
scp krb5cc_100004 gsteve@DMZSERVER:/tmp
scp krb5cc_100004 gsteve@DMZSERVER:/tmp
ASKER
This is the error
ssh: connect to host DMZSERVER port 22: Connection timed out
lost connection
ssh: connect to host DMZSERVER port 22: Connection timed out
lost connection
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Maxalarie,
Good suggestion but it does not have to mean it is closed it might just not be getting the return reply...
mis-configured routing on a switch would look pretty closed to....
Good suggestion but it does not have to mean it is closed it might just not be getting the return reply...
mis-configured routing on a switch would look pretty closed to....
mnis2008: show us the ssh command that works.
scp uses ssh, you mentioned that ssh works, comparing the working ssh and the broken scp command-lines should indicate the problem.
scp uses ssh, you mentioned that ssh works, comparing the working ssh and the broken scp command-lines should indicate the problem.
ASKER
With all the solutions I was able to figure out what was causing the problem, I have installed winscp and it worked
Glad you have the solution, tshark - wireshark is your friend for extra complex problems..
scp file.tar <user>@<linux-in-dmz-serve
The /path/to/put/file part will require the <user> to have write permissions.
So, more than likely you would want to specify the <user>'s home directory (i.e. /home/<user>) or perhaps /tmp