I have a problem with the scp command I want to send a file between to Vms but they "@" on there username exemple:
usernameVM1=user@name"
usernameVM2=user@name
I tried using the -o with the command I can't just specify one username
scp -o "User=user@name:SSH:name" ipadresse:/path_to_file /path_destination
Is there a solution that I can do.