Changes

From SME Server
Jump to navigationJump to search
m
no edit summary
Line 1: Line 1:  
Extracted From: http://www.wellsi.com/sme/ssh/ssh.html
 
Extracted From: http://www.wellsi.com/sme/ssh/ssh.html
   −
Author: Ian Well (27th December 2003)
+
Author: Ian Wells (27th December 2003)
      Line 60: Line 60:  
   ssh-keygen -t rsa
 
   ssh-keygen -t rsa
   −
Generating public/private rsa key pair.
+
  Generating public/private rsa key pair.
 
+
  Enter file in which to save the key (/home/e-smith/files/users/dummy/.ssh/id_rsa): ''[Enter to accept default]''  
Enter file in which to save the key (/home/e-smith/files/users/dummy/.ssh/id_rsa): ''[Enter to accept default]''  
+
  Created directory '/home/e-smith/files/users/dummy/.ssh'.  
 
+
  Enter passphrase (empty for no passphrase): ''[Your passphrase]''  
Created directory '/home/e-smith/files/users/dummy/.ssh'.  
+
  Enter same passphrase again: ''[Your passphrase]''  
 
+
  Your identification has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.  
Enter passphrase (empty for no passphrase): ''[Your passphrase]''  
+
  Your public key has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.pub.  
 
+
  The key fingerprint is:  
Enter same passphrase again: ''[Your passphrase]''  
+
  aa:bb:cc:dd:ee:ff:aa:bb:cc:dd:ee:ff:aa:bb:cc:dd dummy@gatekeeper
 
  −
Your identification has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.  
  −
 
  −
Your public key has been saved in /home/e-smith/files/users/dummy/.ssh/id_rsa.pub.  
  −
 
  −
The key fingerprint is:  
  −
 
  −
aa:bb:cc:dd:ee:ff:aa:bb:cc:dd:ee:ff:aa:bb:cc:dd dummy@gatekeeper
      
=== On RedHat 8.0 ===
 
=== On RedHat 8.0 ===
Line 85: Line 77:  
   ssh-keygen -t rsa '''-C dummy@rh8'''
 
   ssh-keygen -t rsa '''-C dummy@rh8'''
   −
Generating public/private rsa key pair.
+
  Generating public/private rsa key pair.
Enter file in which to save the key (/home/dummy/.ssh/id_rsa):
+
  Enter file in which to save the key (/home/dummy/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):   
+
  Enter passphrase (empty for no passphrase):   
Enter same passphrase again:                   
+
  Enter same passphrase again:                   
Your identification has been saved in /home/dummy/.ssh/id_rsa.
+
  Your identification has been saved in /home/dummy/.ssh/id_rsa.
Your public key has been saved in /home/dummy/.ssh/id_rsa.pub.
+
  Your public key has been saved in /home/dummy/.ssh/id_rsa.pub.
The key fingerprint is:
+
  The key fingerprint is:
aa:bb:cc:dd:ee:ff:aa:bb:cc:dd:ee:ff:aa:bb:cc:dd '''dummy@rh8'''
+
  aa:bb:cc:dd:ee:ff:aa:bb:cc:dd:ee:ff:aa:bb:cc:dd '''dummy@rh8'''
    
== Installing the Public Key onto the Server ==
 
== Installing the Public Key onto the Server ==
Line 133: Line 125:     
*Open a PuTTY terminal to the server
 
*Open a PuTTY terminal to the server
*Open the $HOME/.ssh/authorized_keys file with your favourite test editor (vi, pico etc)
+
*Open the $HOME/.ssh/authorized_keys file with your favourite text editor (vi, pico etc)
 
*Paste in the public key from the clipboard
 
*Paste in the public key from the clipboard
   Line 171: Line 163:  
When starting the PuTTY terminal the following is shown. You will need to enter the passphrase, if one was set.
 
When starting the PuTTY terminal the following is shown. You will need to enter the passphrase, if one was set.
   −
Using username "dummy".
+
Using username "dummy".
Authenticating with public key "dummy@homepc"      '''Using the private key generated on my windows machine'''
+
Authenticating with public key "dummy@homepc"      '''Using the private key generated on my windows machine'''
Passphrase for key "dummy@homepc":                 
+
Passphrase for key "dummy@homepc":                 
Welcome to the Mitel Networks SME Server.
+
Welcome to the Mitel Networks SME Server.
   −
Using username "dummy".
+
Using username "dummy".
Authenticating with public key "dummy@gatekeeper" '''Using the private key generated on my SME Server'''
+
Authenticating with public key "dummy@gatekeeper" '''Using the private key generated on my SME Server'''
Passphrase for key "dummy@gatekeeper":
+
Passphrase for key "dummy@gatekeeper":
Welcome to the Mitel Networks SME Server.
+
Welcome to the Mitel Networks SME Server.
    
=== In use with OpenSSH ===
 
=== In use with OpenSSH ===
Line 191: Line 183:  
   bash-2.05a$
 
   bash-2.05a$
    +
 +
== Changes on remote-access panel ==
 +
-access SERVER-MANAGER
 +
-click REMOTE ACCESS (on left-hand side)
 +
-change "Secure Shell Access" to ALLOW PUBLIC ACCESS
 +
-change "Allow administrative command line..." to YES
 +
-change "Allow secure shell using..." to NO
    
== Further Information ==
 
== Further Information ==
Line 218: Line 217:  
   ssh-keygen -p
 
   ssh-keygen -p
   −
Enter file in which the key is (/home/e-smith/files/users/dummy/.ssh/id_rsa): '''[Enter to accept default key file]'''
+
Enter file in which the key is (/home/e-smith/files/users/dummy/.ssh/id_rsa): '''[Enter to accept default key file]'''
Enter old passphrase: '''[Old passphrase]'''
+
Enter old passphrase: '''[Old passphrase]'''
Key has comment '/home/e-smith/files/users/dummy/.ssh/id_rsa'
+
Key has comment '/home/e-smith/files/users/dummy/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): '''[New passphrase]'''
+
Enter new passphrase (empty for no passphrase): '''[New passphrase]'''
Enter same passphrase again: '''[New passphrase]'''
+
Enter same passphrase again: '''[New passphrase]'''
Your identification has been saved with the new passphrase.
+
Your identification has been saved with the new passphrase.
    
'''PuTTY'''
 
'''PuTTY'''
Line 238: Line 237:     
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Text and no Back-Cover Text. A copy of the GNU Free Documentation License is available from the Free Software Foundation at http://www.fsf.org/copyleft/fdl.html.
 
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Text and no Back-Cover Text. A copy of the GNU Free Documentation License is available from the Free Software Foundation at http://www.fsf.org/copyleft/fdl.html.
 +
 +
----
 +
[[Category:Howto]]
 +
[[Category:Administration:Remote Access]]

Navigation menu