You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					23 lines
				
				994 B
			
		
		
			
		
	
	
					23 lines
				
				994 B
			| 
								 
											5 years ago
										 
									 | 
							
								# SSH
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## Quick Start
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								In order to SSH into your device, you'll need a GitHub account with SSH keys. See this [GitHub article](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) for getting your account setup with SSH keys.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								* Enable SSH in your device's settings
							 | 
						||
| 
								 | 
							
								* Enter your GitHub username in the device's settings
							 | 
						||
| 
								 | 
							
								* Connect to your device
							 | 
						||
| 
								 | 
							
								  * Username: `root`
							 | 
						||
| 
								 | 
							
								  * Port: `22` or `8022`
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Here's an example command for connecting to your device using its tethered connection:
							 | 
						||
| 
								 | 
							
								`ssh root@192.168.43.1`
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								For doing development work on device, it's recommended to use [SSH agent forwarding](https://docs.github.com/en/developers/overview/using-ssh-agent-forwarding).
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## Notes
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The public keys are only fetched from your GitHub account once. In order to update your device's authorized keys, you'll need to re-enter your GitHub username.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								See the [community wiki](https://github.com/commaai/openpilot/wiki/SSH) for more detailed instructions and information.
							 |