palhade
asked on
file copy from Linux server to local machine
Hi,
I connected to Linux machine through Tera-terminal from local machine. I am able to log in successfully.
I have One file which I want to copy on my local machine (from this machine I connected to this Linux machine through tera-terminal)
Please help
Thanks
Manoj
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can use scp or rsync, depending if you have ssh or not
There is utility called winscp.
And also putty is 1000 times user friendlier than TeraTerm
And also putty is 1000 times user friendlier than TeraTerm
about port 22 confused
you need to open port 22 by iptables
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
then save the iptables
then restart the iptabes
you need to open port 22 by iptables
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
then save the iptables
then restart the iptabes
ASKER
how and where to write this command
"iptables -A INPUT -p tcp --dport 22 -j ACCEPT"
"iptables -A INPUT -p tcp --dport 22 -j ACCEPT"
in linux Server
from shell just execute that command
what OS you got ??
and make sure sshd is running
you can check if sshd is running
[root@localhost www]# lsof -i TCP:22
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 5490 root 3u IPv6 10477 TCP *:ssh (LISTEN)
from shell just execute that command
what OS you got ??
and make sure sshd is running
you can check if sshd is running
[root@localhost www]# lsof -i TCP:22
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 5490 root 3u IPv6 10477 TCP *:ssh (LISTEN)
ASKER
Hi,
I am having Windows XP - SP2
I am having Windows XP - SP2
Ok so you are trying to connect to linux server from Windows xp ??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you are trying to copy file from linux to windows, and if the linux server is located remotely
then your solution is
wincp or cygwin
here i guess, cygwin is same as tera-terminal
you would not be able to copy file by using putty,
you said, when you are trying to run scp command,its givving port 22 refused
did you run that by tera-tem??
then your solution is
wincp or cygwin
here i guess, cygwin is same as tera-terminal
you would not be able to copy file by using putty,
you said, when you are trying to run scp command,its givving port 22 refused
did you run that by tera-tem??
ASKER
i am trying to connect to linux server from Windows xp ??
You are not giving proper answer!!!
1. you can use wincp
2. you can use cygwin , cygin will give you root access like linux environment
but i need to know :
you said you are getting port 22 refused,
how did you get that ?? from tera terminal ??
have you check if ssh port 22 is running on the server ??
1. you can use wincp
2. you can use cygwin , cygin will give you root access like linux environment
but i need to know :
you said you are getting port 22 refused,
how did you get that ?? from tera terminal ??
have you check if ssh port 22 is running on the server ??
You are trying to connect from Linux side to Windows - that will not work.
Install SCP client on windows and transfer all your files.
Install SCP client on windows and transfer all your files.
ASKER
Thanks for your quick reply. I got following reply
ssh: connect to host 10.287.122.183 port 22: Connection refused
lost connection
please help