Lab 3 Report
Lab 3 Report
Server Integration
Paul Burkholder
Lab3 Report
3-08-09
Reflection:
Setting up SSH was not difficult but there were differences between the OSs.
Fedora supported more features that ubuntu did not have available, which is odd
since both are running the same ssh client/server. We tried to copy some of the
commands that were in fedora into the ubuntu sshd_config file, but whenever we
did that we would get program start errors. Of all the SSH setups, cygwin was
definitely the tougher one. We got it install, but as far as configuring it, it too does
not support all the features of the fedora SSH setup.
Procedure:
SSH was already installed on the Fedora machine but not on the ubuntu servers. To
install and configure SSH on the ubuntu server I had to
– apt-get install sshd
– then to start the service it is /etc/init.d/ssh start
○ /etc/init.d/sshd will not work on ubuntu
– the config files are then located under /etc/ssh
○ to edit the ssh server configuration it is the /etc/ssh/sshd_config
Our cygwin install was based off of a tutorial found from cygwin.com
Note: Make sure every windows user has a password set. If not go to
Windows Control Panel, User Accounts , and Create Password.
5) Run ssh-host-config command
a. When asked about “privilege separation” answer yes
b. When asked about “Create a local user sshd on this machine” answer yes
c. When asked about “ install sshd as a service” answer yes
6) Use the mkpasswd and mkgroup commands to generate passwords
for all users and groups in the windows users list.
a. Mkpasswd -cl > /etc/passwd
b. MKgroup --local > etc/group
7) Start up SSH with the Netstart SSHD command.
8) Verify that SSH Is working correctly
a. CD /cygdrive/c
Ls
b. If you see a directory listing the operation was successful.