LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-in-linux-294612/)

wardialer 02-25-2005 12:40 AM

SSH in Linux?
 
I want to setup a fileserver in Mandrake linux using SSH and logging on from a Windows client machine using PuTTY.

How can I accomplish this the easy way? Please explain the commands.

nixcraft 02-25-2005 01:00 AM

If sshd is not installed run
urpmi sshd

Add user called me
Code:

adduser me
passwd me

Start ssh server on MDK using
/etc/init.d/sshd start

Open putty
Type ip address of Linux then user me and password

Hope this helps

wardialer 02-25-2005 09:50 AM

Is there way to find out the IP or Hostname of my Linux box???? How can I do that???? Im using a DSL-Connection with a Linksys router.

Snipersnest 02-25-2005 10:06 AM

If you connect the your default Linksys IP 192.168.1.1 you can connect to your router settings. Username is always blank and the default password is admin. Unless you changed them around.

If you click Status at the top or DHCP you should see another button that says Show Clients or something close. That will show you the computers connected to your router and there default IP.

Or in Windows, Start > Run > cmd > ipconfig - this will show you the IP your machine is assigned.

Crashed_Again 02-25-2005 10:07 AM

www.whatismyipaddress.com will give you your ip.

Also, if you want to transfer files from windows to linux or vice versa check out WinSCP for windows.

Snipersnest 02-25-2005 10:15 AM

That website he gave you is helpful if your not in the same room as your computer and you need to send files from say a friends house to yours....but from what I got from your post the machines are in the same location hooked through a Linksys router.

To connect via ssh to a LOCAL box your going to need the local IP. You won't have to worry about setting up your router or anything to do it that way.

And WinSCP is a great tool to use for Windows file transfers to Linux.

gman_O0O0 02-25-2005 10:36 AM

i like to sftp from windows with filezilla.

Crashed_Again 02-25-2005 11:13 AM

That filezilla looks neat. I'll have to try it out.

cadkins 02-25-2005 11:31 AM

just curious. why not just use Samba? Give the box a static IP address and you can access it from either the network and/or SSH?


All times are GMT -5. The time now is 10:10 AM.