LinuxQuestions.org
Visit Jeremy's Blog.
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 04-05-2010, 11:34 PM   #1
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Rep: Reputation: 15
/etc/ssh/sshd_config: Permission Denied


Hey everyone i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do

sudo /etc/ssh/sshd_config it says command not found.

Any advice?
 
Old 04-05-2010, 11:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Yah, use
"sudo vi /etc/ssh/sshd_config"
as the text file is indeed not executable.

Or replace vi with whatever your preferred
textmode editor is.


Cheers,
Tink
 
Old 04-05-2010, 11:41 PM   #3
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Tinkster View Post
Hi, welcome to LQ!

Yah, use
"sudo vi /etc/ssh/sshd_config"
as the text file is indeed not executable.

Or replace vi with whatever your preferred
textmode editor is.


Cheers,
Tink

Thanks,

Oh i get it. lol
 
Old 04-06-2010, 12:58 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,245

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Remember to mark as SOLVED once you have your solution.
 
  


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
ssh - Permission Denied? vendtagain Linux - Newbie 4 11-21-2009 10:28 PM
SSH permission denied Issue sachinh Linux - General 7 09-09-2009 07:58 AM
SSH: Permission denied, please try again. sanatox Linux - Security 3 01-15-2007 10:47 PM
ssh -Permission denied zaphod_es Linux - Networking 4 05-21-2006 02:56 PM
SSH Permission Denied Chimney Linux - Security 1 11-10-2005 07:01 PM


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