![]() They may be your best choice when using a server that you don't trust (yet). The server will be trusted for SSH communication from then on and you will not be prompted again.Ĭheck the internet for the no/ options. If you trust the server (hey, it's your own Pi), answer yes. If you run this batch file the first time, and you haven't SSH'd into the Linux box before, it will ask you to accept the server certificate: The authenticity of host '************' can't be established.ĮCDSA key fingerprint is ************************.Īre you sure you want to continue connecting (yes/no/)? Yes, you can run Windows applications in Linux. Result, when double-clicking on the second batch file: The second part is the full path of the first batch file. The first part is fixed, and will start the Windows Terminal. "%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe" "C:\Users\jancu\Documents\elektronica\digilent\mcc dac\daq.bat" The second batch file, called daqterminal.bat, opens Windows Terminal, and executes the first batch file. -i " is the location of my private key certificate, on the Windows computer that will run the batch files. In openSSH format. ![]() raspberry4daq is the name of my Pi, as entered in raspi-config.Ssh raspberry4daq -l pi -i "C:\Users\jancu\Documents\elektronica\certificates\rsa_jc.priv.openssh" One that knows how to open an SSH session, called daq.bat (because the Pi I'm connecting to is going to be a daq for a Road Test - but I digress). have the public key added to the Linux device's ~/.ssh/authorized_keys file.If you use PuttyGen to generate a key pair, export the private key in OpenSSH format. ![]() Internet will help to create one if you don't have it. ![]()
0 Comments
Leave a Reply. |