LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

OpenSSH common mistakes, tips, and tricks

Posted 10-14-2014 at 11:09 PM by sag47

Here's a post about common mistakes I see made with SSH. A few shortcuts to being more productive when you have a complicated server network. And other neat tips and tricks.

authorized_keys Permissions

The most common problem I see new users attempting to use public key auth is to get the permissions wrong either on their home directory, .ssh directory, or authorized_keys file. Luckily, the openssh project provides a helpful FAQ answer.

The Almighty...
Senior Member
Posted in Uncategorized
Views 81 Comments 0 sag47 is offline
Old

bashrc tweak - colors in ssh ession

Posted 09-10-2012 at 01:06 PM by NullTerminator
Updated 09-18-2012 at 09:39 AM by NullTerminator

If you use any of a number of remote ssh clients and want to improve the color selection, here's a how to. Please credit the original authors. I'm just making it easier to find.

excellent ref @ http://ubuntuforums.org/archive/index.php/t-41538.html
Code:
 1. Edit the '.bashrc' file. You need to make a few small changes to the existing bash script.

(optional) Backup the file. Copy your existing '.bashrc' file in case you wish to restore it at a latter time. For
...
LQ Newbie
Posted in Uncategorized
Views 597 Comments 0 NullTerminator is offline
Old

SELinux and sshd

Posted 01-02-2012 at 04:55 PM by sag47
Updated 08-05-2012 at 12:58 AM by sag47

So I've started using the new Fedora 16 on my main media server (previously F14) and decided to try something new this time. I've always set SELinux to permissive which is a bad idea normally for anything public (which this server isn't but I still want it). Anyway I believe I was testing something before I left for the holidays and ran
Code:
setenforce 0
which disables SELinux. I guess at some point it turned back on somehow and I was locked out of ssh. I dug through my logs (/var/log/messages,...
Senior Member
Views 5999 Comments 1 sag47 is offline
Old

OpenSSH daemon hardening ( Part 3 ) - Setup a chroot enviroment on CentOS with JailKit[ANNOUNCEMENT]

Posted 12-10-2010 at 08:16 AM by angelo.fonzeca (Angelo Fo. personal blog)
Updated 12-13-2010 at 06:31 AM by angelo.fonzeca


[Note: This is a draft version of the post; it'll be revised as soon as possible]


Introduction - What is a chroot?


"A chroot on Unix operating systems is an operation that changes the apparent disk root directory
for the current running process and its children. A program that is
re-rooted to another directory cannot access or name files outside that
directory, and the directory is called a "chroot jail" or
...
PerseusGuard Developer
Posted in Linux Security
Views 1533 Comments 0 angelo.fonzeca is offline
Old

Hacking SSH: un-forward local ports

Posted 02-04-2010 at 09:36 AM by Web31337 (In The Middle Of Nowhere [edK's blog])

Yesterday I was trying to implement a feature allowing me to unforward the ports while connected.
Here is current development progress(which is stopped atm) but the beta-version of solution has been released.
p.s. I also posted that to OpenSSH developers.
Member
Posted in opensource, etc
Views 1353 Comments 0 Web31337 is offline

  



All times are GMT -5. The time now is 11:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration