I am able to ssh using localhost:4200. How can I ssh from a Mac terminal window? Also how can I scp from Mac terminal?
Yes. I only can from browser http://localhost:4200. I am unable to this from a terminal on Mac as
ssh firstname.lastname@example.org -p 4200
I get permission denied.
Also I would like to know how I can scp from a terminal to HDF or vice versa.
I tried scp <file> email@example.com:/ . <ip address of laptop>:/
I get connection refused
I think there is a problem with your command,[scp <file> firstname.lastname@example.org:/ . <ip address of laptop>:/ ] try to revise your SCP command. I am trying to reproduce your situation with 2 hosts one running MobaXterm [Left] and the other Putty [Right]
I have just attached a screenshot below of the sequence and command. I have illustrated it with 2 hosts Simba [Left] and Yumbe [ Right], I am copying the file host_names_changes.json from Simba /root to Yumbe /root directory note the command
simba~]# scp host_names_changes.json email@example.com:/root so the format is
scp <file_name> user@<FQDN or IP>:/<Destination_directory>
The connection is established and once I confirm the root password of the destination host the file is copied. When I finally check on the destination
and the timestamp confirms that the file host_names_changes.json was indeed copied from Simba to Yumbe which would represent your Mac and HDF
Does that answer you?