On 01/10/2016 11:15 AM, Sharon Kimble wrote:
David Christensen <dpchr...@holgerdanske.com> writes:
What operating system is installed on "*this* machine"?
Debian 8.2 on *both* machines.
Its going to get confusing, so this machine is called 'london'
fooserver = 'norwich'
foo = 'boztu'
What is the name of the *.iso file that you downloaded, burned, and installed
onto fooserver?
debian-8.2.0-i386-netinst.iso
Okay. Most of my machines are Wheezy. I ran Jessie on my primary
desktop for a while, but reverted back to Wheezy.
Log in to fooserver as foo and run the following commands (start a Terminal, if
needed). If/ when any error messages
are shown, stop, and type everything into a reply to this message:
$ ping -c 1 foo
I screwed up -- it should have been "fooserver". The idea is to try to
ping norwich from itself and also from a working machine to test network
connectivity and host lookups:
$ ping -c 1 norwich
# ping -c 1 boztu
Unknown host boztu
$ ssh localhost
The authenticity of host 'localhost (::1)' can't be established
ECDSA key fingerprint is 2e:74:df:d0:19:61:65:33:b1:e5:fe:49:8f:23.
Are you sure you want to continue connecting (yes/no)?
Respond "y". It should eventually ask you for a password. If there are
other prompts I've forgotten, try to answer them correctly. This is to
test if the ssh server is working on norwich.
# ssh norwich
*no reply, just eating away of my ram until I Ctrl-c out of it*
Looks like I screwed up again -- that command assumes that you have the
same username on both machines.
Tomas' suggestion is the correct next step:
$ ssh -v boztu@norwich
I see you have already posted the result, but don't know enough about
SSH to comment on it. I haven't gone through the HOWTO you followed,
but wonder if it directed you to make edits to SSH configuration files
or do a plain vanilla install (?). I prefer the latter.
My notes for a recent Debian 8 install with console only and SSH follow.
I put it on a USB flash drive so it's portable. It works, including
the SSH server. But, it assumes my networking environment, which
includes my domain name and pfSense router with HTTP proxy server, DHCP
server, and DNS server. I've added some markers and comments for things
you would need to change. If you're up to it, get a USB flash drive and
try another install. (I typically use 16 GB for graphical desktops, but
4 GB should work for console only).
David
*** The Debian installer on other debian-8-* discs should be very
similar, if not the same. debian-7-* should be close. ***
Boot debian-8.2.0-amd64-xfce-CD-1 optical disc:
Debian GNU/Linux installer boot menu -> Install
Select a lanuage -> Language -> English
Select your location -> Country, territory or area ->
United States
Configure the keyboard -> keymap to use -> American English
Configure the network ->
Hostname -> YOUR_HOST_NAME_HERE
*** If you don't have a domain name, I have seen "local" recommended. ***
Domain name -> YOUR_DOMAIN_NAME_HERE
Set up users and passwords ->
Root password -> ********
Re-enter password to verify -> ********
Full name for the new user -> YOUR_FULL_NAME_HERE
Username for your account -> YOUR_USERNAME_HERE
Choose a password for the new user -> ********
Re-enter password to verify -> ********
Configure the clock -> Select your time zone -> YOUR_TIMEZONE_HERE
Partition disks -> Partitioning method -> Manual
*** Pick the disk you want to install onto. ***
SCSI9 (0,0,0) (sda) - 15.6 GB SanDisk Ultra Fit
*** Delete all existing partitions. ***
Create new empty partition table on this device -> Yes
pri/log 15.6 GB FREE SPACE ->
Create a new partition
New partition size -> 0.5 GB
Type for the new partition -> Primary
Location for the new partition -> Beginning
Use as -> btrfs journaling file system
Mount point -> /boot
Mount options -> defaults
Label -> debian8_boot
Bootable flag -> on
Done setting up the partition
pri/log 15.1 GB FREE SPACE ->
Create a new partition
New partition size -> 0.5 GB
Type for the new partition -> Primary
Location for the new partition -> Beginning
Use as -> physical volume for encryption
Encrypt method -> Device-mapper (dm-crypt)
Encryption -> aes
Key size -> 256
IV algorithm -> xts-plain64
Encryption key -> Random key
Erase data -> yes
Bootable flag -> off
Done setting up the partition
pri/log 14.6 GB FREE SPACE
Create a new partition
New partition size -> 13.4 GB
Type for the new partition -> Primary
Location for the new partition -> Beginning
Use as -> physical volume for encryption
Encrypt method -> Device-mapper (dm-crypt)
Encryption -> aes
Key size -> 256
IV algorithm -> xts-plain64
Encryption key -> Passphrase
Erase data -> yes
Bootable flag -> off
Done setting up the partition
Configure encrypted volumes ->
Write the changes to disk and configure encrypted
encrypted volumes -> Yes
Encryption configuration actions ->
Create encrypted volumes ->
Devices to encrypt
X -> /dev/sda2
X -> /dev/sda3
Finish ->
Really erase the data on SCSI9 (0,0,0),
partition #2 (sda) -> Yes
Really erase the data on SCSI9 (0,0,0),
partition #3 (sda) -> Yes
Encryption passphrase -> ********
Re-enter passphrase to verify -> ********
Encrypted volume (sda3_crypt) - 13.4 GB Linux device-
mapper (crypt) -> #1 13.4 GB f ext4 ->
Use as -> btrfs journaling file system
Mount point -> /
Mount options -> defaults
Label -> debian8_root
Done setting up the partition
Finish partitioning and write changes to disk
Write the changes to disks -> Yes
Configure the package manager ->
Use a network mirror -> Yes
*** Pick an archive mirror country near you. ***
Debian archive mirror country -> United States
*** Pick an archive mirror near you. ***
Debian archive mirror -> ftp.us.debian.org
*** If you don't have a HTTP proxy server, leave the following blank. ***
HTTP proxy information -> YOUR_HTTP_PROXY_URL_HERE
Configuring popularity contest ->
Participate in the package usage survey -> No
*** Choose the software tasks you want. You can add more software after
installation. ***
Software selection ->
Choose software to install ->
* -> SSH server
* -> standard system utilities
Install the GRUB boot loader on a hard disk ->
Install the GRUB boot loader to the master boot record ->
Yes
Device for boot loader installation -> /dev/sda
Finish the installation -> Installation complete -> Continue