15 lines
327 B
Bash
Executable File
15 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This script installs OpenSSH upon the new system.
|
|
#
|
|
# Steve
|
|
# --
|
|
# $Id: 70-install-ssh,v 1.4 2006-01-08 01:53:33 steve Exp $
|
|
|
|
|
|
prefix=$1
|
|
|
|
chroot ${prefix} /usr/bin/apt-get update
|
|
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install ssh
|
|
chroot ${prefix} /etc/init.d/ssh stop
|