Linux-Noob Forums

Full Version: FTP/SSH problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

hi, i am trying to access my unix shell account through ftp and ssh, but i couldn't.

i am on FC2. and this what happens:

------------

[q8knight@localhost q8knight]$ ftp shell.reverse.net

Connected to shell.reverse.net (66.225.200.6).

220 c3p0.reverse.net FTP server (Version 6.00LS) ready.

Name (shell.reverse.net:q8knight): cookies

hello

??

------------

it looks like the user login didn't complete. i don't why, i entered my username then press RETURN/ENTER and nothing happen and i can write whatever i want:

------------

Connected to shell.reverse.net (66.225.200.6).

220 c3p0.reverse.net FTP server (Version 6.00LS) ready.

Name (shell.reverse.net:q8knight): cookies

hello

??

hello

linux nooooooooooob

....

------------

So i have to close the terminal because it doesn't respond perfectly, also i can not access the ssh:

------------

[q8knight@localhost q8knight]$ ssh -l cookies shell.reverse.net

cookies@shell.reverse.net's password:

Permission denied, please try again.

cookies@shell.reverse.net's password:

 

------------

first time i typed incorrect password and it asked me again then i typed it correctly but nothing happened and no respond

 

btw, am connecting through dsl router

 

thanks

Guest


In helping FazLeeeN with the problem i attempted to log onto the same server. I got the fallowing

 

[torn@localhost torn]$ ftp

ftp> open 216.193.201.57

Connected to 216.193.201.57 (216.193.201.57).

220 ProFTPD 1.2.9 Server (ProFTPD) [mindanao.globat.com]

Name (216.193.201.57:torn): q8knight

331 Password required for q8knight.

Password:

530 Login incorrect.

Login failed.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> exit

 

Which by my accounts would be a normal ftp session..


I found the solution:

iptables --table mangle --append OUTPUT --jump DSCP --set-dscp 0x0

iptables --table mangle --append PREROUTING --jump DSCP --set-dscp 0x0


To help you a llittle better you should use lokkit the fedora firewall builder:

 



Code:
/usr/sbin/lokkit