LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-03-2011, 09:24 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
cannot connect via SSH using nautilus


Hello

I've Lenny and cannot connect via SSH using nautilus.
What can be wrong or is it a BUG?

Last edited by cccc; 02-03-2011 at 09:51 PM.
 
Old 02-03-2011, 09:43 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
No. It's a safety precaution. Install the ssh server package, Debian omits this by default. Some better (or more) use of search engines and a liberal dose of common sense will reduce the copious amounts of easy questions you ask.
 
Old 02-03-2011, 09:49 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
ssh server package was already installed, I've reinstalled it, but it doesn't help.
BTW I don't have this problem on other machine with squeeze.
 
Old 02-04-2011, 07:10 AM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Describe the problem more in depth, saying "something is not working" doesnt help.

Try these:
Check the correct ip, port, user, password used by ssh. Connect to the ssh server from the command line to see if there is any error reported.
Launch Nautilus from a terminal and see if there is any output. Check if the file->connect to server menu item has the ssh option.
 
Old 02-04-2011, 09:25 AM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by gradinaruvasile View Post
Describe the problem more in depth, saying "something is not working" doesnt help.

Try these:
Check the correct ip, port, user, password used by ssh. Connect to the ssh server from the command line to see if there is any error reported.
Launch Nautilus from a terminal and see if there is any output. Check if the file->connect to server menu item has the ssh option.
I've tried, but still doesn't work:

1.) ip, port, user, password are correct
2.) to connect to the ssh server from the command line or via gftp ssh works well
3.) no outputs if I launch Nautilus from a terminal
4.) file->connect to server menu item has the ssh option
 
Old 02-04-2011, 11:45 AM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
I added in /etc/ssh/ssh_config the following entries:
Code:
TCPKeepAlive yes
ServerAliveInterval 120
Protocol 2,1
restarted and this problem seems to be solved now.

BTW I'm not allone, there are many postings about this problem in the internet...
 
Old 02-04-2011, 09:21 PM   #7
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Sorry, this problem still exists on other Lenny machines.

Just a first time connection works, perhaps will be better do not save passwords over nautilus.

I've tested with ubuntu 10.10 and squeeze, there seems to work well.

For me it's a BUG!

Last edited by cccc; 02-04-2011 at 09:27 PM.
 
  


Reply



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
Nautilus not opening in X window through SSH infosrig Linux - Networking 2 02-04-2011 12:00 AM
Nautilus - ssh - filenames with space andrewld Linux - Desktop 2 10-06-2007 12:40 AM
Nautilus: Connect to Server spangler Linux - General 2 08-24-2007 10:14 AM
SSH + nautilus..help me help my girlfriend:) gejr Linux - Server 1 05-03-2007 01:30 PM
ssh + pop3 with kmail: Could not connect to host localhost, but ok without ssh Emmanuel_uk Linux - Networking 0 07-20-2006 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:40 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
Open Source Consulting | Domain Registration