ssh
Ok,
First I would like to say thanks for all the help.....Here is the question 1. I have 2 Pc's connected through a router. one is a RedHat box the other XP. Both can communicate with the web fine. 2. The ip on the Red Hat box is 192.168.1.114 (I think) 3. I can ping the RedHat box from my Windows box 4. SSH from my Windows box to REDHAT box and it times out However, at the command line inside RedHat I can ssh to myself The question is I CANNOT get Telnet from my XP box to REDHAT box using ssh. In the RedHat box I went to server configuration and made sure sshd is running. Is there a way to determine if sshd daemon is running and if it is not how to I start that process? I did a ps -ef and I do not remember seeing sshd or anything like that. I did not check to validate the port number though Oh ya, what is the defallut port to connect at is it 22. I think on my router setting I allow connections on ports 20-24 on ip address 192.168.1.114 Thanks, any other suggetions would be great!! |
this will show you if sshd is running:
ps aux | grep sshd |
Make sure you don't have a firewall running on the Red Hat box that's blocking access to port 22.
|
Thanks, I did not know Red Hat has a firewall on it...How do I allow port forwarding for port 22 on the RedHat box?
Is it a configureation file that I have to manually edit? |
In Fedora at least you can change it with system-config-securitylevel -- in RH I think it may be redhat-config-firewall but I'm not sure. The way to do it by hand is to modify your iptables ruleset, but if you aren't familiar with it, it can be sort of difficult. I don't even know that your firewall is the problem, but it's something to look at.
|
Correct...On Redhat
This was the problem 1. goto system settings-->security level--->check ssh thanks |
Whoa Whoa Whoa
At first I interpreted your post to be a typo. Are you trying to telnet into ssh? Be sure about this, because it won't happen. In order to ssh into your redhat machine, you need an ssh client on windows. I personally use cygwin with all it's little goodies, but if you want help on that. You'll need to ask again. For now, I'll just point you to a great free program for M$ PuTTY Download this, and now you'll be able to "ssh into your machine" |
Yes, I can telnet into my machine. but I cannot ftp to it for some reason. I know sshd has an sftp attached to it, but I cannot seem to get it to work
Thanks |
Okay, let's be clear here.
I telnet'd into the machine means you typed "telnet machine" I ssh'd into the machine means you typed "ssh machin" ftp is insecure, because people can view everything you're typing. Almost nobody in this forum will recommend using telnet. With that said, check out this link to another post |
what is happenning is this. I am logging in from a XP machine to a UNIX machine using open ssh on my XP box.
1. I can ssh into the UNIX box fine. However, when I open up a transfer window using open ssh I get this error "File transfer could not be started or exited unexpectedly. sftp-server is not in the path on the server side" Now the file sftp-server is on my machine in the proper location. I have been trying to get this to work for a few days now!!! Thanks |
Hmm, I'm still unclear on whether you are doing this properly.
When you open up this ftp window, what do you mean? >sftp <unixserver $<password $get filename $quit >ls (to see filename in current directory) Is this what you're doing? |
No I open up a file transfer window on my XP box using the program open ssh. It is a menu item options that just allows you to tranfer files using ssh by dragging and dropping files.
What is does is one window will display the contents of the unix box and the other window will display the contents of my XP box. The window will allow drap and drop of files. I am thinking of just running another ftp serever and not using sftp |
Before I open up an insecure ftp server, I would try another sftp client. Try PuTTY . It's great, open source and free (as in beer). Never quite understood that one?!! Try using this first, and let me know if it works.
|
I CAN conenct to my Linux box from my xp box using putty. I wanted to be able to transfer files back and forth from my XP box and redhat box. I know that sshp come w/ an ftp server which is what I have on my Linux box.
However, psftp DOES NOT work it will just sit there never allowing me to log in. |
actually, when I use psftp which is the secure ftp it prompts me to log in, but it hangs up after I enter the password!!
Example using psftp (putty version of ftp) open 192.168.XXX.XXX login as <user_name> Using username<user_name> <user_name>@192.168.XXX.XXX's password: THIS IS where it hangs up, seems like it CANNOT authenticate my password!! Thanks again fr the help |
All times are GMT -5. The time now is 05:06 PM. |