Sunday, October 11, 2020

copy file from Rpi to Ubunto Desktop

SSH connect to Rpi using terminal 

>> ssh pi@IP

>>ssh pi@192.168.0.105

 

copy file from Rpi to Ubunto Desktop

>> sudo scp <file in Rpi> <username@IP>:<location to save>

>> sudo scp /home/pi/humidityold.txt asanka@192.168.0.101:home/asanka/Desktop/


If ssh connection is refused by port 22;

>> sudo service ssh status

if not fund 


>> sudo apt-get install openssh-server

No comments:

Search This Blog