-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
neil
committed
Nov 9, 2024
1 parent
27d6ffb
commit d93cd39
Showing
3 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
|
||
|
||
Welcome | enter | ||
|
||
|
||
#To select the keyboard layout, enter a number | ||
|
||
keyboard | enter | ||
|
||
|
||
#select the language you wish to use, enter a number | ||
|
||
language | enter | ||
|
||
|
||
#Welcome to the OpenIndiana illumos-1edba515a3 installation menu | ||
|
||
Install OpenIndiana | enter | ||
|
||
|
||
#Thanks for choosing to install OpenIndiana! | ||
|
||
choosing | f2 | ||
|
||
|
||
#Where should OpenIndiana be installed? | ||
|
||
Where | f2; sleep1; tab; sleep 1; enter | ||
|
||
|
||
|
||
#OpenIndiana can be installed on the whole disk or a partition on the disk | ||
|
||
partition | f2 | ||
|
||
|
||
#Enter a name for this computer that identifies | ||
|
||
name | tab; f2 | ||
|
||
#Select the region that contains your time zone | ||
|
||
region | f2 | ||
|
||
#Edit the date and time as necessary | ||
|
||
time | f2 | ||
|
||
#System Root Password | ||
|
||
password | f2; tab; enter | ||
|
||
#Review the settings below before installing. Go back (F3) to make changes | ||
|
||
Review | f2 | ||
|
||
# | ||
Installation Complete | f8 | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
sed -i "s/PermitRootLogin no/PermitRootLogin yes/" /etc/ssh/sshd_config | ||
|
||
sed -i "s/#PermitEmptyPasswords no/PermitEmptyPasswords yes/" /etc/ssh/sshd_config | ||
|
||
sed -i "s/#PubkeyAuthentication no/PubkeyAuthentication yes/" /etc/ssh/sshd_config | ||
|
||
|
||
echo "AcceptEnv *" >> /etc/ssh/sshd_config | ||
|
||
mkdir -p ~/.ssh | ||
|
||
chmod -R 600 ~/.ssh | ||
|
||
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N "" | ||
|
||
echo "StrictHostKeyChecking=accept-new" >>~/.ssh/config | ||
|
||
|