ftp and ssh weirdness


 
Thread Tools Search this Thread
Special Forums IP Networking ftp and ssh weirdness
# 1  
Old 08-10-2008
ftp and ssh weirdness

i've just setup my desktop (ubuntu 8.04) to run vsftpd and sshd. i have two laptops, both running linux. on one laptop i can connect to the desktop via ftp and ssh and everything works fine. so i don't think there's a problem with the server.

on the other laptop i can't connect to the desktop via ftp or ssh using the command line. however, if i use the gui interface gftp (gnome ftp) i can ftp to my desktop. this seems weird. ssh still doesn't work with gftp.

here's verbose output from ssh on the laptop that doesn't work, ftp doesn't give back anything in verbose mode. both protocols hang after inputting the password.


Code:
campbell@crypto:~$ ssh -v 192.168.1.101
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.101 [192.168.1.101] port 22.
debug1: Connection established.
debug1: identity file /home/campbell/.ssh/identity type -1
debug1: identity file /home/campbell/.ssh/id_rsa type -1
debug1: identity file /home/campbell/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7p1 Debian-8ubuntu1.2
debug1: match: OpenSSH_4.7p1 Debian-8ubuntu1.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.101' is known and matches the RSA host key.
debug1: Found key in /home/campbell/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/campbell/.ssh/identity
debug1: Trying private key: /home/campbell/.ssh/id_rsa
debug1: Trying private key: /home/campbell/.ssh/id_dsa
debug1: Next authentication method: password
campbell@192.168.1.101's password: 
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8

# 2  
Old 08-10-2008
wireless vs wired

ok, on a hunch i plugged my laptop into my router (wired connection). now i can ftp and ssh to the server just fine.

however, when i switch back to wireless i have to same problems, ftp and ssh hang after asking for the password.

do i need to change something on the router.......i'm using wpa2 personal encryption if that makes any difference.

hmm..... i'll try it with no encrytion, then wep, then wpa.....
# 3  
Old 08-10-2008
encryption doesn't matter

ok, encryption doesn't matter, doesn't work if unencrypted.

only wired vs wireless. any ideas?
# 4  
Old 08-10-2008
Solved!!!

I found that both of these two settings had to be made to my router's config: Enable Wireless QOS under Applications & Gaming/QOS, and Disable Upnp under Administration/Management (the answer to "Why?" would only be a guess).

Now it works.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Joining 3 line weirdness

Hi all you Unix/Linux gurus, So, I have something strage going on and need a sanity check... I have 2 files that both contain 3 lines of text... File1 - called t: CN66270E90 94:57:a5:d3:db:aa 94:57:a5:d3:db:ab File2 - called tt: hostname 5.7.2.7 72:8C:36:3B:5A:17 (2 Replies)
Discussion started by: joeg1484
2 Replies

2. Solaris

Solaris 11 sysconfig and zones weirdness

when I create a new zone either via zfs export template or installing the OS from the .iso I get a weird problem. once I create the zone and login for the first time to the console I get the sysconfig menu. I do the config setup and exit the zone boots normally. The next time I reboot, I have to do... (0 Replies)
Discussion started by: os2mac
0 Replies

3. Solaris

Zpool device weirdness

Weird duplicate device in one of my nested raidz1s - device is shown as both online and unavailable, with a hot spare showing up as degraded as well. Any thoughts on how I should proceed? root@storage# zpool status tank pool: tank state: DEGRADED status: One or more devices are... (6 Replies)
Discussion started by: DoohanMcGirk
6 Replies

4. Shell Programming and Scripting

File path weirdness

I want to be able to drag and drop a file into a script in the terminal but it doesn't like the /home/user prefix. How do I get around this? (8 Replies)
Discussion started by: pluto7777
8 Replies

5. UNIX for Dummies Questions & Answers

gedit newline weirdness

I have this file cd /media/AUDIO/WAVE/9780743561181 ~/Desktop/mp3-to-m4b 9780743561181-UNLEASHING THE IDEA VIRUS "UNLEASHING THE IDEA VIRUS" "GODIN, SETH" 2006 n cd /media/AUDIO/WAVE/9780743561204 ~/Desktop/mp3-to-m4b 9780743561204-STALIN'S GHOST "STALIN'S GHOST" "SMITH, MARTIN" 2007 n cd... (1 Reply)
Discussion started by: glev2005
1 Replies

6. UNIX for Advanced & Expert Users

FTP to another server using SSH

Hi, One of our server running on ssh.So when we are logging using putty,we used to select ssh option and provide the auth key.But if I am ftping some files to this ssh server from another linux server,how I can do that? (1 Reply)
Discussion started by: sureshbabuc
1 Replies

7. Solaris

SSH weirdness

I've configured a new container/zone on Solaris 10 (Sparc) and I'm using Centrify for LDAP authentication to AD. My ssh client is as follows Sun_SSH_1.1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f I'm seeing some strange behavior from ssh. When I ssh onto the new zone to myself (non-root... (2 Replies)
Discussion started by: CDM
2 Replies

8. Solaris

Re:Enabling ftp,ssh in solaries 8

Hi all , can any one tell me how to enable ftp/ssh services in solarie 8 machine. if this services cannot be enabled on solarie 8 machine can you kindly suggest any other alternative. Thanks venky (1 Reply)
Discussion started by: venky_vemuri
1 Replies

9. Shell Programming and Scripting

SSH FTP Issue

Hi, I have a ftp script which is supposed to ftp to different servers in the same environment and get request logs from a path. But when I run the script I get the following errors, 1142INPUT_WBS/1142INPUT_WBS ftp: 1142INPUT_WBS.sbc.com: unknown host Not. Not connected. local:... (1 Reply)
Discussion started by: crosairs
1 Replies

10. UNIX for Dummies Questions & Answers

cygwin bash startup command weirdness (part 1)

I am running (I believe) the latest stable version of cygwin CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin on a win xp sp2 laptop. Suppose, to make things simple for now (but I may do a part 2 posting...), that I am in a dos shell, and I want to create a bash shell and have it... (1 Reply)
Discussion started by: fabulous2
1 Replies
Login or Register to Ask a Question