privateone commited on
Commit
e0755ec
·
verified ·
1 Parent(s): 158758c

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -1
start.sh CHANGED
@@ -116,7 +116,7 @@ fix_admin_permissions
116
  generate_admin_ssh_keys
117
  add_admin_authorized_keys
118
 
119
- ls -l /home/admin/.ssh/
120
 
121
  if [ $? -eq 0 ]; then
122
  echo "* Admin credentials are valid."
@@ -145,6 +145,10 @@ echo "* Contents of config of Admin:"
145
  cat /home/admin/.ssh/config
146
  echo "* Contents of known hosts of Admin:"
147
  cat /app/ssh/ssh_known_hosts
 
 
 
 
148
  sshd -T | grep -i 'known hosts'
149
 
150
  start_ssh_service
 
116
  generate_admin_ssh_keys
117
  add_admin_authorized_keys
118
 
119
+ #lsl -l /home/admin/.ssh/
120
 
121
  if [ $? -eq 0 ]; then
122
  echo "* Admin credentials are valid."
 
145
  cat /home/admin/.ssh/config
146
  echo "* Contents of known hosts of Admin:"
147
  cat /app/ssh/ssh_known_hosts
148
+ echo "* Contents of /.ssh of Admin:"
149
+ chmod -R 777 /home/admin/.ssh/
150
+ ls -l /home/admin/.ssh/
151
+
152
  sshd -T | grep -i 'known hosts'
153
 
154
  start_ssh_service