welcome: please sign in

Diff for "MemberManual/ShellAccess"

Differences between revisions 13 and 15 (spanning 2 versions)
Revision 13 as of 2013-01-13 18:05:42
Size: 1747
Editor: ClintonEbadi
Comment: update / cat
Revision 15 as of 2013-07-20 05:32:37
Size: 2791
Editor: ClintonEbadi
Comment: also note how to change your password and further condense information
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
= Our Machines = == Logging In ==
Line 9: Line 9:
We have several machines. Here are brief descriptions of each of the machines you can log into. Only `ssh.hcoop.net` is accessible to members. To login, use [[http://www.openssh.org/|SSH]] where
Line 11: Line 11:
|| '''Hostname''' || '''Machine name''' || '''IP address'''|| '''Description''' ||
|| `ssh.hcoop.net` / `bog.hcoop.net` || bog || 69.90.123.72 || Production shell server and custom daemons ||
|| `mire.hcoop.net` || mire || 69.90.123.68 || Legacy member web sites and custom daemons ||
 username :: Your HCoop username
 host :: `ssh.hcoop.net`
Line 15: Line 14:
For further details on our machines, including the machines that are not listed here, take a look at the [[Hardware]] page. You may also use MitKerberos for [[/PasswordlessLogin]].
Line 17: Line 16:
= Logging In = The current shell machine is [[ServerBog|bog]], and is running [[http://www.debian.org/releases/squeeze/|Debian GNU/Linux Squeeze]]. Further information about our servers is on the [[Hardware]] page.
Line 19: Line 18:
Use SSH to log in, by typing the following, where '''USER''' is your HCoop username. === GNU/Linux, OS X, BSD ===

Open a shell and run:
Line 22: Line 23:
ssh USER@ssh.hcoop.net ssh USERNAME@ssh.hcoop.net
Line 25: Line 26:
= Changing the Default Shell = === Microsoft Windows ===

If you use Windows and are unfamiliar with SSH, you will most likely want to install [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]], a popular and FreeSoftware SSH client. See the [[http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter2.html#gs|putty getting started guide]] for more information.

== Security Restrictions ==

We have some security restrictions in place on the shell servers designed to thwart would-be attackers. Basic http, irc to trusted networks, etc. work by default, and we liberally grant requests for additional network permissions (See FirewallRules).

== Installing Software ==

Our shell server is running a basic installation of Debian Squeeze. You may find that all of the software you need is already installed, but if not you may [[https://members.hcoop.net/portal/apt|request installation of packages]] available in [[http://packages.debian.org/squeeze/|squeeze]] and [[http://packages.debian.org/squeeze-backports/|squeeze-backports]].

Software not provided by Debian may be manually installed somewhere like `~/local/` in your home directory.

== Tips ==

=== Changing Your Password ===

/* Not sure this belongs here, but this document seems like the place where a member might want to know how to change their password? */

On your first login, and thereafter on some regular basis (quarterly is generally alright), you should change your password. To do this, login to the shell server and run

{{{
kpasswd
}}}

It will prompt for your current password and your new password twice.

(We use `kpasswd` instead of the standard UNIX `passwd` because of an unfortunate interaction between MitKerberos and Debian's default PAM configuration).

=== Changing the Default Shell ===
Line 35: Line 66:

= Password-less Login =

Consult the [[/PasswordlessLogin|Password-less Login]] subpage for instructions.

= Security Restrictions =

We have some security restrictions in place on the shell servers. See FirewallRules.

= Getting technical info about the environment =
== kernel version ==
{{{#!bash
uname -r
}}}

== 32 bit or 64 bit? ==
{{{
uname -m
}}}

386 or 686 means it's 32 bit, which is the current configuration on mire. x86_64 means 64-bit, which is the configuration on bog.

This is the chapter of the MemberManual that describes how to log in to our machines, and provides a brief explanation of what our machines do.

Logging In

Only ssh.hcoop.net is accessible to members. To login, use SSH where

username
Your HCoop username
host

ssh.hcoop.net

You may also use MitKerberos for /PasswordlessLogin.

The current shell machine is bog, and is running Debian GNU/Linux Squeeze. Further information about our servers is on the Hardware page.

GNU/Linux, OS X, BSD

Open a shell and run:

ssh USERNAME@ssh.hcoop.net

Microsoft Windows

If you use Windows and are unfamiliar with SSH, you will most likely want to install Putty, a popular and FreeSoftware SSH client. See the putty getting started guide for more information.

Security Restrictions

We have some security restrictions in place on the shell servers designed to thwart would-be attackers. Basic http, irc to trusted networks, etc. work by default, and we liberally grant requests for additional network permissions (See FirewallRules).

Installing Software

Our shell server is running a basic installation of Debian Squeeze. You may find that all of the software you need is already installed, but if not you may request installation of packages available in squeeze and squeeze-backports.

Software not provided by Debian may be manually installed somewhere like ~/local/ in your home directory.

Tips

Changing Your Password

On your first login, and thereafter on some regular basis (quarterly is generally alright), you should change your password. To do this, login to the shell server and run

kpasswd

It will prompt for your current password and your new password twice.

(We use kpasswd instead of the standard UNIX passwd because of an unfortunate interaction between MitKerberos and Debian's default PAM configuration).

Changing the Default Shell

If you wish to change your login shell, then create a symlink called ~/.loginshell whose target is your shell of choice. Here is one example:

ln -sf /bin/zsh ~/.loginshell


CategoryNeedsWork CategoryMemberManual

MemberManual/ShellAccess (last edited 2019-01-30 20:47:49 by SrikanthSastry)