How to allow ftp and telnet
I have a new Suse 10 installation and want to allow my grandson to access with ftp any of my files from his remote location. And also telnet. I can't remember how to do this and sure would appreciate some help. Jack aa6vn@pacbell.net
* Jack Reilly
I have a new Suse 10 installation and want to allow my grandson to access with ftp any of my files from his remote location. And also telnet.
Why not *safely* allow access via ssh, instead? Start sshd open ssh on firewall 22/tcp/udp & 614/tcp/udp then ssh for access and scp to copy files. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Jack Reilly wrote:
I have a new Suse 10 installation and want to allow my grandson to access with ftp any of my files from his remote location. And also telnet. I can't remember how to do this and sure would appreciate some help.
Jack aa6vn@pacbell.net
I believe there are two issues to be dealt with: 1. security, i.e. allowing accesses through the appropriate ports. To see what ports are involved do grep ftp /etc/services This will list all the different variants and associated ports. 2. Start up your desired ftp server. (Can be configured to always start on boot or just when you want there to be access. Both operations are handled through YAST. From the green button (on my machine lower left hand corner) run->Control Center->YaST2 Modules->Security->Firewall->Allowed Services Add whichever ftp you wish to use. Then run->Control Center->YaST2 Modules->Network Services Here you can set the service to start on boot (Network Services(xinetd)) or just start it by hand for a one time run. There are probably several other steps involved that I've forgotten since the last time I did it. So have fun. J.
On Mon, 2006-02-27 at 03:52 -0800, Jack Reilly wrote:
I have a new Suse 10 installation and want to allow my grandson to access with ftp any of my files from his remote location. And also telnet. I can't remember how to do this and sure would appreciate some help.
In a word, don't. Instead use ssh and scp. Use ssh for a secure login to the machine and scp to copy files in a secure manner. Use of standard ftp and telnet are -not- secure and could result in your machine being broken into. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Mon February 27 2006 3:00 pm, Patrick Shanahan wrote:
Why not *safely* allow access via ssh, instead?
Start sshd ok, I have that, then I look into security-firewall settings. I see SSH under allowed services for selected zone. There are 3 choices, internal, external and DMZ. which ones need to be open. Both of my machines are behind a router, then the DSL modem. I see the eth0 is only setup on the external zone, so I guess that answers that question...
open ssh on firewall 22/tcp/udp & 614/tcp/udp every time I try to add TCP port 22 and 614 it says OK, then the summary only shows port 614, not 22. UDP shows both 614 and 22, I don't get it. I tried adding "22 614" and "614 22" both failed.
then ssh for access and scp to copy files. I love winSCP !
-- Paul Cartwright Registered Linux user # 367800 X-Request-PGP: http://home.bellsouth.net/p/PWP-pcartwright/key.asc
On Mon February 27 2006 4:59 pm, Paul Cartwright wrote:
open ssh on firewall 22/tcp/udp & 614/tcp/udp
every time I try to add TCP port 22 and 614 it says OK, then the summary only shows port 614, not 22. UDP shows both 614 and 22, I don't get it. I tried adding "22 614" and "614 22" both failed.
well, it doesn't seem to matter about TCP port 22, I was able to connect from my XP box to my SUSE box using WinSCP !!! Now I can back up my user files to the DVD+RW on my laptop, instead of trying to use 50+ CD's!!
then ssh for access and scp to copy files.
I love winSCP !
-- Paul Cartwright Registered Linux user # 367800
* Paul Cartwright
well, it doesn't seem to matter about TCP port 22, I was able to connect from my XP box to my SUSE box using WinSCP !!! Now I can back up my user files to the DVD+RW on my laptop, instead of trying to use 50+ CD's!!
....
I love winSCP !
Why winSCP? install cygwin on the windoz machine and scp from the linux box. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
On Mon February 27 2006 5:44 pm, Patrick Shanahan wrote:
Why winSCP?
install cygwin on the windoz machine and scp from the linux box.
I'm already using WinSCP for "work", so why install cygwin? would it give me more functionality? winscp does exactly what I need, I can copy files from my Linux box to the XP box, so I can burn backups, etc to DVD. -- Paul Cartwright Registered Linux user # 367800
* Paul Cartwright
I'm already using WinSCP for "work", so why install cygwin? would it give me more functionality?
yes, allows ssh from win box to linux
winscp does exactly what I need, I can copy files from my Linux box to the XP box, so I can burn backups, etc to DVD.
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
On Mon February 27 2006 6:09 pm, Patrick Shanahan wrote:
I'm already using WinSCP for "work", so why install cygwin? would it give me more functionality?
yes, allows ssh from win box to linux
well, I downloaded it, I'll install it tomorrow, and give it a try, thanks! -- Paul Cartwright Registered Linux user # 367800
On Monday 27 February 2006 4:25 pm, Paul Cartwright wrote:
On Mon February 27 2006 6:09 pm, Patrick Shanahan wrote:
I'm already using WinSCP for "work", so why install cygwin? would it give me more functionality?
yes, allows ssh from win box to linux
well, I downloaded it, I'll install it tomorrow, and give it a try, thanks!
I still think that since your on a *private* network, your easiest bet is to simply create a samba share for the windows box..... B-)
Jack Reilly wrote:
I have a new Suse 10 installation and want to allow my grandson to access with ftp any of my files from his remote location. And also telnet. I can't remember how to do this and sure would appreciate some help.
If that access is via the internet, you don't want to do that. Telnet and ftp are not secure, with the password transmitted in clear text. A better choice would be ssh and scp.
Paul, On Monday 27 February 2006 15:25, Paul Cartwright wrote:
On Mon February 27 2006 6:09 pm, Patrick Shanahan wrote:
I'm already using WinSCP for "work", so why install cygwin? would it give me more functionality?
yes, allows ssh from win box to linux
well, I downloaded it, I'll install it tomorrow, and give it a try, thanks!
You downloaded "it?" Cygwin? It's just like a Linux distribution insofar as it comprises a great many packages totaling hundreds of megabytes of tarballs formatted for the Cygwin installer (which is what I suspect your downloaded, from the main page of cygwin.com). If you did just download the installer, beware that you've got a big download ahead (which must be preceded by package selection, unless you're willing to just go for the whole huge set of packages). Cygwin is quite good and the only way to make Windows usable to those of the Unix / Linux ilk such as myself. I immediately install it on every Windows computer I must use on an ongoing basis.
-- Paul Cartwright
Randall Schulz
On Tue February 28 2006 3:45 am, Randall R Schulz wrote:
You downloaded "it?" Cygwin? It's just like a Linux distribution insofar as it comprises a great many packages totaling hundreds of megabytes of tarballs formatted for the Cygwin installer (which is what I suspect your downloaded, from the main page of cygwin.com).
you are correct, I downloaded the setup.exe from cygwin.
If you did just download the installer, beware that you've got a big download ahead (which must be preceded by package selection, unless you're willing to just go for the whole huge set of packages).
how do you select these packages, and what do I look for/need/want to install for ssh/sftp ?
Cygwin is quite good and the only way to make Windows usable to those of the Unix / Linux ilk such as myself. I immediately install it on every Windows computer I must use on an ongoing basis.
once I get it "installed" and working I'll have a better idea what you are talking about:) kinda hard to think about *NIX on a gates box.. -- Paul Cartwright Registered Linux user # 367800 X-Request-PGP: http://home.bellsouth.net/p/PWP-pcartwright/key.asc
Randall R Schulz wrote:
Cygwin is quite good and the only way to make Windows usable to those of the Unix / Linux ilk such as myself. I immediately install it on every Windows computer I must use on an ongoing basis.
I installed Cygwin/x on the "evil" side of my ThinkPad. It's a strange feeling to be able to instantly switch between Windows and Linux desktops. ;-)
Paul, On Tuesday 28 February 2006 03:35, Paul Cartwright wrote:
On Tue February 28 2006 3:45 am, Randall R Schulz wrote:
You downloaded "it?" Cygwin? It's just like a Linux distribution insofar as it comprises a great many packages totaling hundreds of megabytes of tarballs formatted for the Cygwin installer (which is what I suspect your downloaded, from the main page of cygwin.com).
you are correct, I downloaded the setup.exe from cygwin.
If you did just download the installer, beware that you've got a big download ahead (which must be preceded by package selection, unless you're willing to just go for the whole huge set of packages).
how do you select these packages, and what do I look for/need/want to install for ssh/sftp ?
Run the installer, step through the wizard-style interface and a few screens in (after mirror selection) you get a hierarchical (two-level) list of packages. The Cygwin installer leaves something to be desired, but it's the only feasible way to install it. You'll have to look in the Networking or Server categories (I don't know the categories by memory, but it will be obvious which categories might hold the SSH client and server software). The installer knows about dependencies, so pick what you want and let it install whatever else is required. Cygwin can interface with the Windows service subsystem so your SSH server runs automatically upon system start-up without any manual action on your part. If you're running a server (want to log in there via SSH), then this is a good choice. Cygwin has its own mailing list (of course) where you'll find very much the same kind of spirit of tolerance and forgiveness you've come to know and love here in the SuSE-Linux-E list!
Cygwin is quite good and the only way to make Windows usable to those of the Unix / Linux ilk such as myself. I immediately install it on every Windows computer I must use on an ongoing basis.
once I get it "installed" and working I'll have a better idea what you are talking about:) kinda hard to think about *NIX on a gates box..
To a first approximation the Cygwin "experience" is much like the Linux experience. The core of Cygwin, its DLL, creates a POSIX emulation interface based upon the Windows kernel. With that available, things like the Gnu tools and other open-source (Linux) packages can be ported in a relatively straightforward manner. There are some visible seams (path name and PATH variable syntax being salient ones) but for the most part once installed and configured (configuration is pretty minimal) you can open a BASH (or other common) shell and run all the commands you're accustomed to using under Linux.
-- Paul Cartwright
Randall Schulz
On Tue February 28 2006 11:02 am, Randall R Schulz wrote:
Run the installer, step through the wizard-style interface and a few screens in (after mirror selection) you get a hierarchical (two-level) list of packages. The Cygwin installer leaves something to be desired, but it's the only feasible way to install it.
I already started it, and I THINK I found the SSH and turned it on.. the interface was rather slow, I thought it went to sleep on me, I almost killed it!
Cygwin can interface with the Windows service subsystem so your SSH server runs automatically upon system start-up without any manual action on your part. If you're running a server (want to log in there via SSH), then this is a good choice.
I'll give it a try as soon as it stops installing!
Cygwin has its own mailing list (of course) where you'll find very much the same kind of spirit of tolerance and forgiveness you've come to know and love here in the SuSE-Linux-E list!
oooh, I don't know if I'm up to that much more abuse:) thanks, I'll look around once I get it installed, I'm SURE I'll have more questions! -- Paul Cartwright Registered Linux user # 367800
On Tue February 28 2006 7:30 am, James Knott wrote:
I installed Cygwin/x on the "evil" side of my ThinkPad. It's a strange feeling to be able to instantly switch between Windows and Linux desktops. ;-)
wow, I just did my first ever ssh from a windows box to my SUSE desktop, using cygwin! how do you start an X session??? or did the default not install X.. -- Paul Cartwright Registered Linux user # 367800
If you want to do X, it is important when you connect to the linux box with ssh to include the -X in the command line. (e.g. ssh -X server.org) In cygwin, BEFORE ssh'ing, just from the cygwin shell, try something like xcalc and see what is says. That will tell you if X is there or not. I don't know if anyone else here thinks that installing cygwin can be problematic or not. (I believe it is, simply because M$ crap is involved in the equasion somewhere... hehe) But, I have found this XLiveCD to be the simplest, most robust way of using/installing fully functional cygwin. http://xlivecd.indiana.edu/ Check it out. You don't even need to install to HD. You can just start cygwin/X from the CD directly without installing. It is AWESOME for running X apps on MS machines quick and easy. When I write a new program and want to show it to co-workers that are being punished with Doze only machines, all I have to do is have them put the cd in the drive, bring up cygwin ssh -X to my box, and run my app. Bingo! Then when done close the app, remove the CD, and its as if nothing ever happened. Wonderfull work! B-) On Tuesday 28 February 2006 11:48 am, Paul Cartwright wrote:
On Tue February 28 2006 7:30 am, James Knott wrote:
I installed Cygwin/x on the "evil" side of my ThinkPad. It's a strange feeling to be able to instantly switch between Windows and Linux desktops. ;-)
wow, I just did my first ever ssh from a windows box to my SUSE desktop, using cygwin! how do you start an X session??? or did the default not install X.. -- Paul Cartwright Registered Linux user # 367800
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Paul Cartwright wrote:
On Tue February 28 2006 7:30 am, James Knott wrote:
I installed Cygwin/x on the "evil" side of my ThinkPad. It's a strange feeling to be able to instantly switch between Windows and Linux desktops. ;-)
wow, I just did my first ever ssh from a windows box to my SUSE desktop, using cygwin! how do you start an X session??? or did the default not install X..
You have to install the X stuff. I downloaded Cygwin/x, not the plain Cygwin. With it, I get the full Linux desktop, though it has to be enabled on the Linux box too.
participants (8)
-
Brad Bourn
-
Jack Reilly
-
James Knott
-
Jonathan Jefferies
-
Ken Schneider
-
Patrick Shanahan
-
Paul Cartwright
-
Randall R Schulz