adds the sftp exersise
This commit is contained in:
		
							parent
							
								
									07137bac08
								
							
						
					
					
						commit
						bc95bde94f
					
				| 
						 | 
				
			
			@ -70,7 +70,7 @@ Can you *accidentally* log into the wrong PI?
 | 
			
		|||
How would you make it more clear for yourself (and others) that your PI is yours?
 | 
			
		||||
 | 
			
		||||
If you made it this far you should know your IP address.
 | 
			
		||||
There is a webserver running on my raspberry pi who you can find at `172.30.6.108` this webserver is serving a file called `accounts.csv`.
 | 
			
		||||
There is a webserver running on my raspberry pi who you can find at `172.30.6.96` this webserver is serving a file called `accounts.csv`.
 | 
			
		||||
Please download it and create user accounts for all these people.
 | 
			
		||||
The username should be the `$USERNAME` part of their matrix handle and as a password their `$FIRSTNAME$LASTNAME`.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -82,3 +82,17 @@ Can you connect to our matrix server and send us a message from this computer?
 | 
			
		|||
How can we exchange files between this computer and our windows machine?
 | 
			
		||||
Some sort of FTP server would be handy no?
 | 
			
		||||
Can you set one up for all our users?
 | 
			
		||||
 | 
			
		||||
## Setting up a fileserver
 | 
			
		||||
 | 
			
		||||
Have a look at the accounts.cvs file again.
 | 
			
		||||
The last collumn is a *teams* collumn.
 | 
			
		||||
Please add all the users to either the *red* or the *blue* team group.
 | 
			
		||||
You probably need to create these groups first no?
 | 
			
		||||
 | 
			
		||||
You are yourself in one of the groups and you consider the people in the same group to be your trustworthy friends.
 | 
			
		||||
The other team you consider them less trustworthy so you don't want to give them shell access.
 | 
			
		||||
There is a feature in the sftp server included into the ssh server that allows you to do this.
 | 
			
		||||
How do you make the sshd daemon aware of changes in the config file?
 | 
			
		||||
 | 
			
		||||
Test all of this out with people from your team and the other team.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue