LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2008, 02:28 AM   #1
ogdemster
LQ Newbie
 
Registered: Jul 2008
Posts: 14

Rep: Reputation: 0
[SOLVED] Debian Winscp connection refused


Problem Solved

hey

i installed debian. and i have another problem now. i need to connect for file transfers to linux machine from windows machine. donwloaded winscp for it. when i tried to connect i get this error message

connection refused

i think firewall settings are wrong but dunno how i can stop firewall thing. there are many firewall type on debian.

can someone help me pls ? =)

Last edited by ogdemster; 08-21-2008 at 04:11 AM. Reason: SOLVED
 
Old 08-21-2008, 03:15 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Normally 'sshd' does not run. Check that it is configured correctly and set up to run. You may try:

dpkg-reconfigure openssh-server

Or else just go straight to /etc/ssh/ and edit the server config file and also delete the file "sshd_not_to_be_run", then check that the sshd startup script is invoked as you expect for your runlevel.
 
Old 08-21-2008, 03:21 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
You probably have no sshd running (the process that sits and listens for attempts to establish an ssh connection) - or it is not even installed.
...probably the former.
I don't know how to start this (or any service ... ) in Debian now but it should be easy to find out.

[edit]
oops - too late
 
Old 08-21-2008, 04:06 AM   #4
ogdemster
LQ Newbie
 
Registered: Jul 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Hey again.

dpkg-reconfigure openssh-server

good job. i gave this command and i saw openssh is not installed ^^

as a root :

apt-get install ssh

and configured openssh settings as u said

and now winscp working fine

thanks for helping pinniped

Last edited by ogdemster; 08-21-2008 at 04:10 AM. Reason: wrong spell
 
  


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
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 02:17 AM
Xlib: connection to ":0.0" refused by server - Debian 449 Linux - Newbie 5 02-15-2008 07:18 PM
Connection Refused - site specific network problems Laptop running debian 2.6.0-test7 bjarvis829 Linux - Laptop and Netbook 1 10-11-2003 02:10 PM
Connection Refused - site specific network problems Laptop running debian 2.6.0-test7 bjarvis829 Linux - Networking 2 10-11-2003 01:24 PM
X11 via ssh from iMac to Debian - Connection Refused James007Bond Debian 2 08-09-2003 02:19 PM


All times are GMT -5. The time now is 06:33 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