LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2004, 06:19 AM   #46
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32

I dont know if this is right but i'll try and explain

has you know i have XP with two nicks then 2nd nick as a cross over cable going to Tinysofa server, we got this going with the help of this forum.

Any way i did a reboot.

Turn every thing on ssh, httpd, vsftpd etc etc

Ping works both ways
Can view html page from the tiny sofa web server.

when i use PuTTY from XP to log in Tinysofa as root ( I get Access denined )
Same with winSPC3 ( Access denined )

If i log in using PuTTY from XP with user account it lets me in, then i have to switch user ( su root ) then it lets me in as root.

winSPC3 lets user account in to his directory

FTP as root on port 22 just hangs there.
FTP as user on port 22 just hangs there as well..

using vsftpd

Over all it s looks pretty tough, i can see it has alot of secuity on it..

Is this normal ???

TT
 
Old 05-13-2004, 07:20 AM   #47
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
ftp on port 22 ? ssh uses tcp 22 port as default. ftp uses tcp 21. if u wanna see what services uses which ports, look at /etc/services file.

linux is secure enough. but if it will have a direct connection to internet (not NAT), u must configure firewall also.

if root password contains numbers, dont use number keys which controlled by numlock key when u are using putty. i hope i could explain.
 
Old 05-13-2004, 07:22 AM   #48
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32
Quote:
dont use number keys which controlled by numlock key when u are using putty.
Why is this ???

TT
 
Old 05-13-2004, 07:26 AM   #49
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i dont know, i cant use those keys when i use putty here.
 
Old 05-13-2004, 07:34 AM   #50
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32
I see, i dont have that problem i dont think

the /etc/services has heaps in there

the ones that look like this are they blocked ?
rsync 872/udp #rsync


TT
 
Old 05-13-2004, 07:44 AM   #51
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
I think there is needs for a chat room here... I cannot follow this thread and help you since I do not know what you need anymore


 
Old 05-13-2004, 07:49 AM   #52
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32
I was trying to give my self access as root from XP using PuTTY to log into tinysofa..

last post was looking at what ports are blocked etc..


TT
 
Old 05-13-2004, 09:24 AM   #53
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Ok, and if from the XP box, from a command line you

telnet tinysofa 22

What is the result ??

You have 3 choices:

1 - Could not open connection
--> sshd is not running on the Linux

2 - Something like SSH-1.99-OpenSSH_3.5p1
--> You should be able to get there... If not this is a ssh config prob.

3 - Wating a long time and then connection timed out
--> protected by firewall

I would recommand to flush the firewall and then try.

iptables -F I think...

With these informations, it will be easier to help
 
Old 05-13-2004, 09:31 AM   #54
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32
cool thanks

One telnet i get Could not open connection to host, on port 23: connection failed

TT
 
Old 05-13-2004, 09:33 AM   #55
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Yah I know this :-) That's why I said

telnet tinysofa 22

22 beeing the ssh port.
 
Old 05-18-2004, 11:21 AM   #56
okilani
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
ssh as root

Hi,

The sshd configuration in tinysofa specifies 'PermitRootLogin no'.
You must login as a user, and then su to root.

Alternatively, edit the /etc/ssh/sshd_config file, and change 'PermitRootLogin no' to 'PermitRootLogin yes', but this is not recommended (although, if your Linux box is behind your NAT, and you don't have any port forwarding to that Linux box, you should be okay.)

Regards,
Omar Kilani
 
Old 05-18-2004, 11:27 AM   #57
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 953

Original Poster
Rep: Reputation: 32
thank you i did work this out a while ago. I know what you mean by logging in by user first then su to root

thanks again

TT
 
  


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-13-2005 11:03 PM
can't ping linux box jammy3 Linux - Newbie 3 12-03-2004 11:33 AM
Cannot ping the linux box amirbhai Linux - Networking 4 06-25-2004 04:43 PM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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