LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-20-2008, 05:05 AM   #1
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Rep: Reputation: 15
how to enable ssh recieving in debian 4


I have installed Debian 4 inside virtualbox on my windows XP. I tried to ssh into my debian using putty but I recieved an error about connection refused. Please help. Thanks in advance
 
Old 03-20-2008, 06:16 AM   #2
oxleyk
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 309

Rep: Reputation: 30
Try this. http://www.google.com and enter "debian enable ssh" (without quotes)
 
Old 03-20-2008, 07:14 AM   #3
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Rep: Reputation: 16
Have you installed the "openssh-server" package?
 
Old 03-20-2008, 08:15 AM   #4
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
By default, Debian has an ssh client, but not an ssh server. So you can ssh out of a Debian box as soon as it's installed, but you can't ssh into one. As lucazorzi says, you need to install a server. You can do it as easily as this:
Code:
aptitude install ssh
You need to log into a terminal as root to do that, by the way. Enter su and then your root password when it asks for it. Then do the aptitude command.

Last edited by Telemachos; 03-20-2008 at 08:16 AM.
 
Old 03-21-2008, 04:08 AM   #5
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Original Poster
Rep: Reputation: 15
The next error is connection getting timed out. What do I do next

Last edited by tapan_chugh; 03-21-2008 at 08:32 AM.
 
  


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
enable ssh davidhk Debian 7 10-09-2007 05:49 PM
Enable ssh filosofos Slackware 4 05-15-2006 02:31 PM
how to enable ssh in hpux gsr_kashyap Other *NIX 10 03-13-2006 03:43 AM
Enable SSH carlosinfl Linux - Networking 11 09-17-2005 11:27 PM
Enable ssh to server Kdr Kane SUSE / openSUSE 1 06-20-2005 01:06 PM

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

All times are GMT -5. The time now is 09:01 PM.

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