Changing the default SSH port number and not allowing root logins on Debian.
The Secure Shell Protocol (OpenSSH is a FREE version of SSH) by default uses port 22. Changing the default SSH port will stop many automated
attacks and make it harder to guess which port SSH is accessible from.
1.) As root, use your favorite text editor (nano) to edit the sshd configuration file.
2.) Edit the line which states 'Port 22'. Choose a port not currently used on the system. I used 'Port 49999' for this example.
3.) While we have sshd_config in our editor, lets disable root login
through SSH. Look for 'Authentication' section and change
'PermitRootLogin' to 'no'.
4.) You need to restart SSH daemon for changes to take effect.
5.) Before disconnecting from your current SSH session, verify SSH is
listening on the new port by connecting to it from another terminal.
Sunday, April 22, 2012
Sunday, April 8, 2012
Berkeley Software Distribution Links (91):Feel free to add more links in the comments.
Blogs, Docs, How-Tos, Info, and News (19)
Canada BUGS (3)
Certification and Training (1)
Conference, Expo, and Shows (6)
Downloads: Packages, Ports, Torrents (6)
International BUGS (3)
UK BUGS (1)
USA BUGS (15)
Blogs, Docs, How-Tos, Info, and News (19):
A Year in the Life of a BSD Guru - Follow the ups and downs of a BSD sysadmin, trainer, author and advocate while gaining insight into the BSD community and what it is like to live in the shadow of Linux, BSD's younger but flashier cousin.
aboutBSD.net is a planet for BSD news, aggregating feeds from blogs and web on all aspect of BSD.
BSD Guides - Doing stuff with FreebSD, NetBSD, OpenBSD, and Mac OS X.
BSD Nexus - "UBER" means I don't drink the coffee ... I chew the beans instead!!!
BSDpants - Tips for the FreeBSD user. No shirt, no shoes, no kerne1 hacking! ... just making FreeBSD work great for you.
DragonFly BSD Digest - A running description of activity related to DragonFly BSD.
FreeBSD Diary has been providing practical examples since 1998. The preference here is FreeBSD, a solid and reliable UNIX-like operating system.
FreeBSD Foundation is a 501(c)(3) non-profit organization dedicated to supporting the FreeBSD Project. The Foundation gratefully accepts donations from individuals and businesses, using them to fund projects which further the development of the FreeBSD operating system. In addition, the Foundation can represent the FreeBSD Project in executing contracts, license agreements, and other legal arrangements which require a recognized legal entity. The FreeBSD Foundation is entirely supported by donations.
FreeBSD - the unknown Giant will keep you updated with everything that's going on with regards to to FreeBSD and FreeBSD-based-operating systems.
FreshPorts has everything you want to know about FreeBSD software, ports, packages, applications, whatever term you want to use.
hubertf's NetBSD blog; It's hubertf's NetBSD blog... check it out!
Me, BSD: Online Network Tools and Manuals
niXdoc http://nixdoc.net *nix Documentation Project
OpenBSD 101; tutorial for beginners
OpenBSD Journal is constantly on the lookout for stories of how you put OpenBSD to work.
PC-BSD Blog; The official blog of the PC-BSD operating system, which has been designed with the “casual” computer user in mind. It offers the stability and security that only a BSD-based operating system can bring, while at the same time providing a comfortable user experience, allowing you to get the most out of your computing time. With PC-BSD you can spend less time working to fix viruses or spyware and instead have the computer work for you.
Polarwave's OpenBSD Tips and Tricks for Newbies - This site is devoted to just that, tips and tricks, things to make your life easier when coming to the world of BSD.
Slashdot BSD http://bsd.slashdot.org News for Nerds. Stuff that Matters.
SpreadBSD http://www.spreadbsd.org UNIX for the Masses.
Canada BUGS (3):
Calgary Unix UG http://www.cuug.ab.ca/
Greater Toronto Area BUG http://www.gtabug.ca
Windsor Unix Users Group http://www.wuug.org
Certification and Training (1):
BSD Certification.org http://www.bsdcertification.org
Conference, Expo, and Shows (6):
OpenCON http://www.opencon.org OpenBSD
Downloads: Packages, Ports, Torrents (6):
FreeBSD Ports http://www.freebsd.org/ports/
FreshPorts http://www.freshports.org/ Lists changes made to FreeBSD ports tree.
gotBSD http://gotbsd.net torrents
OpenBSD Torrents http://openbsd.somedomain.net
OpenPorts http://openports.se ports
pbi Directory http://www.pbidir.com packages for PC-BSD
BSDanywhere http://bsdanywhere.org OpenBSD LiveCD
Damn Small BSD http://www.damnsmallbsd.org
DragonFly BSD http://www.dragonflybsd.org
FreeNAS http://freenas.org/ Network-Attached Storage Server
Frenzy http://frenzy.org.ua/en/ FreeBSD LiveCD (portable sys admin toolkit)
GhostBSD http://www.ghostbsd.org/ LiveCD based on FreeBSD
GNOBSD http://www.sri-dev.de/ LiveDVD/USB based on OpenBSD
jggimi http://www.jggimi.homeip.net/livecd/downloads.html OpenBSD LiveCD/DVD
Jibbed http://www.jibbed.org NetBSD LiveCD
MarBSD http://openbsd.maroufi.net/download_en.shtml OpenBSD LiveCD
m0n0wall http://m0n0.ch/wall/ firewall
OliveBSD http://g.paderni.free.fr/olivebsd/ LiveCD
pfSense http://www.pfsense.com/ firewall, router, etc.
Quetzal http://quetzal.matem.unam.mx OpenBSD LiveCD
RoFreeSBIE http://www.rofreesbie.org LiveCD / Install
TrueBSD http://www.truebsd.org LiveDVD
DesktopBSD Forums http://desktopbsd.net/forums/
PC-BSD Forum http://forums.pcbsd.org
Screaming Electron Forums http://screamingelectron.org/forum/
Unix Forums, The http://www.unix.com
Unix Guru Universe http://www.ugu.com
International BUGS (3):
BUGS [BSD Users Group, Sydney] http://www.bugs.au.freebsd.org
German Unix User Group http://www.guug.de
HUMBUG http://www.humbug.org.au University of Queensland, Brisbane, AU
BSD Magazine http://www.bsdmag.org
BSD Show!, The http://webbaverse.com/category/the-bsd-show
FreeBSD For All http://freebsdforall.blogspot.com
Unix Clubhouse http://unixclubhouse.com/
BSD Mall http://bsdmall.com
UK BUGS (1):
BSD Groups UK http://www.bsdgroups.org.uk
USA BUGS (15):
Bend Free Software User Group http://www.bendug.org
Berkeley Unix User Group http://www.buug.org Berkeley, CA
Capital Area BUG http://capbug.org
Front Range Unix Users Group http://www.fruug.org Boulder, CO
New England BUG http://neabug.org
New York City BUG http://nycbug.org
Norman Unix Liberation League http://www.ou.edu/student/null/
OKCForum http://www.okcforum.orgPhxBUG http://bsd.phoenix.az.us Phoenix, AZ
San Francisco OpenBSD Users Group http://www.sfobug.org
Silicon Valley BUG http://www.svbug.com
Southern Connecticut Open Source User Group http://www.scosug.org
Southern Utah Unix Users Group http://www.su3g.org
Tidewater Unix User's Group http://www.twuug.org Hampton Roads, VA
TriBUG http://www.tribug.org NC
Tucson Free Unix Group http://www.tfug.org Tucson, AZ