LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-25-2005, 01:40 AM   #1
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Rep: Reputation: 30
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.
 
Old 02-25-2005, 02:00 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
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
 
Old 02-25-2005, 10:50 AM   #3
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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.
 
Old 02-25-2005, 11:06 AM   #4
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
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.
 
Old 02-25-2005, 11:07 AM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 02-25-2005, 11:15 AM   #6
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
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.
 
Old 02-25-2005, 11:36 AM   #7
gman_O0O0
LQ Newbie
 
Registered: Jan 2005
Location: wisconsin, USA
Distribution: SuSE 9.x
Posts: 12

Rep: Reputation: 0
i like to sftp from windows with filezilla.
 
Old 02-25-2005, 12:13 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
That filezilla looks neat. I'll have to try it out.
 
Old 02-25-2005, 12:31 PM   #9
cadkins
Member
 
Registered: Mar 2004
Location: <----- there
Distribution: Mandrake 9.0 - 9.2, Slackware 9.1 - 10
Posts: 98

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
ssh into linux? danimal87 Linux - Newbie 4 09-03-2005 12:06 AM
ssh windows to linux Longinus Linux - Networking 3 04-18-2004 11:44 AM
only linux to linux server SSH allowed?! etegration Linux - Software 17 02-05-2004 07:30 PM


All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration