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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-25-2005, 01:40 AM
|
#1
|
Member
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375
Rep:
|
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.
|
|
|
02-25-2005, 02:00 AM
|
#2
|
Member
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379
Rep:
|
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
|
|
|
02-25-2005, 10:50 AM
|
#3
|
Member
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375
Original Poster
Rep:
|
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.
|
|
|
02-25-2005, 11:06 AM
|
#4
|
Member
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269
Rep:
|
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.
|
|
|
02-25-2005, 11:07 AM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
02-25-2005, 11:15 AM
|
#6
|
Member
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269
Rep:
|
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.
|
|
|
02-25-2005, 11:36 AM
|
#7
|
LQ Newbie
Registered: Jan 2005
Location: wisconsin, USA
Distribution: SuSE 9.x
Posts: 12
Rep:
|
i like to sftp from windows with filezilla.
|
|
|
02-25-2005, 12:13 PM
|
#8
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
That filezilla looks neat. I'll have to try it out.
|
|
|
02-25-2005, 12:31 PM
|
#9
|
Member
Registered: Mar 2004
Location: <----- there
Distribution: Mandrake 9.0 - 9.2, Slackware 9.1 - 10
Posts: 98
Rep:
|
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 12:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|