Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to share files between RH 7.2 machine & Win2k machine. I just installed Win SCP on the Win2k machine but really do not know where to go from here.
When I launch Win SCP, it asks for:
4) Port: 22
So hostname would be the name or IP address of my RH 7.2 machine? How do I determine what IP that machine has? I tried typing "ping 188.8.131.52" from command prompt & took the IP address it pinged FROM & put that in as my "hostname".
I also am unclear as to where the username/password for Win SCP come from. I tried using "root" & my root password but it would not connect.
I typed ssh -v on my RH 7.2 machine. I have OpenSSH_2.0p2 but do not know if I actually need to start the SSH server first before expecting it to work. I imagine I would need to but can't find good documentation on how to do this.
[lfindle@localhost lfindle] $ ssh (IP of my win2k machine)
Secure connection to (IP of my win2k machine) refused.
Not sure what's going on there but I'm thinking that I need to download & install SSH RPM's if I want to connect from Win -> Linux. I guess I can find those by doing a search on RPMFind.net.
well no that wouldn't help, that's presumably a problem with the windows server, not linux. maybe a protocol mismatch? your windows server *should* allow you to use either ssh 1 or 2, make sure both are enabled if possible. also check the ssh detail as to how to pick which protocol to use (hint, -1 or -2)
I downloaded/installed the Ximian desktop (www.ximian.org) b/c friends have recommended using RedCarpet to help keep packages up-to-date. The install seemed to go fine but the laptop started having problems (ie- no task bar, new console windows were not opening properly, etc)
So I wound up reinstalling RH 7.2 and made sure I enabled "ssh" this time. So now, Win SCP is working & I can get to my linux box from my windows box. Interesting... when I run the "ps aus | grep sshd" command now.. there are TWO processes running whereas before there was just one process. The two processes running now are: one for (grep sshd) and one for (/usr/sbin/sshd).
Next thing I need to learn though is how to properly back up my HD b/c when I reinstalled RH ... I tarred 2 of my folders up & had to e-mail them to myself b/c couldn't get FTP working ... used a web-based e-mail page to send myself these attachments ... long story short.. this was a very-bad-move. The folders.tar.gz's are gone & I lost lots of programs I'd spent tons of time writing.
Yesterday's Less: Learn how to back up HD properly if I'm going to be messing around w/ my machine like this.