Editing
My Mint Notes
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== My Mint Linux Notes == Notes on my Minut Linux == SSH server == First order of business is to install an SSH server so I can securely connect to machine remotely. OpenSSH server is optimum for this. In terminal window run this command: <code>sudo aptitude install openssh-server</code> Backup your sshd-config file: <code>sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak</code> Edit sshd_config file. To read about the options read [http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5 sshd_config man page] <code>sudo vi /etc/ssh/sshd_config</code> To enhance security modify your sshd_config to disable login by root and deny all users except those listed: * PermitRootLogin no * AllowUsers <userid> <userid> // Adding AllowUsers explicity retricts access to only specified users Restart ssh: <code>sudo restart ssh</code> Now you should be able to remotely connect to your Mint Linux == Aptitude == Copied from [http://www.garfieldtech.com/blog/your-debian-aptitude Garfield Tech] for reference: <pre> aptitude update: Update the local cache of available packages (formerly apt-get update. aptitude upgrade: Upgrade available packages (formerly apt-get upgrade). aptitude dist-upgrade: Upgrade available packages even if it means removing stuff (formerly apt-get dist-upgrade). aptitude install pkgname: Install package (formerly apt-get install). aptitude remove pkgname: Uninstall package (formerly apt-get remove). aptitude purge pkgname: Uninstall package and config files (formerly apt-get --purge remove). aptitude search string: Search for a package with "string" in the name or description (formerly apt-cache search string). aptitude show pkgname: Show detailed of a package (formerly apt-cache show pkgname). aptitude clean: Delete downloaded package files (formerly apt-get clean). aptitude autoclean: Delete only out-of-date package files but keep current ones (formerly apt-get autoclean). aptitude hold pkgname: Fix a package at its current version and don't upgrade it automatically (formerly an obscure echo-to-file command). unhold to remove the hold. </pre>
Summary:
Please note that all contributions to GotOpinion may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GotOpinion:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information