nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to enable SSH in Ubunthu Server

This is a discussion on How to enable SSH in Ubunthu Server within the Ubuntu / Debian forums, part of the Linux Distribution category; Hi,is there anyone who know how enable SSH in Ubunthu Server. In FreeBSD,all we need to do is just to ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-08-2008, 09:18 PM
Member
User
 
Join Date: Jul 2008
OS: Free BSD
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
enochalbert is on a distinguished road
Default How to enable SSH in Ubunthu Server

Hi,is there anyone who know how enable SSH in Ubunthu Server. In FreeBSD,all we need to do is just to type this command in /etc/rc.conf

sshd_enable="YES"

Can anyone guide me how to do this on Ubunthu Server.
Reply With Quote
  #2 (permalink)  
Old 26-08-2008, 10:45 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

There is no /etc/rc.conf under any Linux distribution as Linux uses sys v style stuff. To turn on service on boot, enter:
Code:
update-rc.d ssh defaults
OR
Code:
sudo update-rc.d ssh defaults
Following FAQ has more info:
Debian or Ubuntu Linux runlevel configuration tool to start service
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 27-08-2008, 04:58 AM
Member
User
 
Join Date: Jul 2008
OS: Free BSD
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
enochalbert is on a distinguished road
Default

I could not add the code, it says files or directory for rc.d doesn't exist
Reply With Quote
  #4 (permalink)  
Old 27-08-2008, 11:15 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Do you have Openssh server installed?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 28-08-2008, 06:42 AM
Member
User
 
Join Date: Jul 2008
OS: Free BSD
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
enochalbert is on a distinguished road
Default

Thanks, It works after I have reinstall the ubunthu server
Reply With Quote
Reply

Tags
openssh , ssh service , ubuntu linux , update-rc.d


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to get the root password for Ubunthu Server enochalbert Ubuntu / Debian 2 26-08-2008 09:15 PM
Enable/Disable ftp in solaris 10 KuldeepSM Solaris/OpenSolaris 3 04-03-2008 02:43 PM
enable ssh service in BSD All about FreeBSD/OpenBSD/NetBSD 1 17-07-2006 02:13 AM
What is hyperthreading and how do enable it under Linux? Linux software 1 17-07-2006 02:03 AM
How to enable Iptables with Netmeeting Berkeley Linux software 3 10-01-2006 12:22 PM


All times are GMT +5.5. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38