Copy/Paste Text from local to remote
Copy/Paste from local to remote
- You need to copy the text between local and remote devices as follows:
- Copy the text from your local machine as usual
- Press Ctrl+Alt+Shift to get the menu (don't do this on the network diagram, only on telnet / RDP sessions)
- on macOS, type Control+Option+Shift
- Paste the text in the box that shows on the menu (this copies the text to the remote server)
- Press Ctrl+Alt+Shift to close the menu (or do this after the next step)
- Right-click on the device to paste in telnet or paste normally in the remote RDP session
Copy/Paste from remote to local
- To copy to your local machine from the remote switch reverse this:
- Select the text like you would with Putty
- Press Ctrl+Alt+Shift to get the menu (don't do this on the network diagram, only on telnet / RDP sessions)
- Copy text from box on menu
- Press Ctrl+Alt+Shift to close the menu (or do this after the next step)
- Paste as usual on your local PC
Copy/Paste an Archive of Files from remote to local
- Make a zip file
- e.g., select Desktop\XXX folder, right-click, and create file.zip
- Encode the zip file to a base64 text file
- from cmd.com, type: certutil -encode file.zip myEncodedFile.txt
- Copy the base64 text from myEncodedFile.txt to the clipboard
- Paste the base64 text in a new myEncodedFile.txt on your own PC
- decode the textfile file back to a zip file
- Windows from cmd.com, type: certutil -decode myEncodedFile.txt file.zip
- MacOS from terminal, type: cat myEncodedFile.txt | base64 -d -o file.zip
- Decompress file.zip back to the original folder you wanted from the lab PC
Copy/Paste not working, try this:
- Check clipboard permission in the browser:
- In Chrome or Edge, open the remote lab page.
- Click the padlock icon 🔒 next to the URL → Site settings.
- Scroll to Clipboard and set it to Allow.
- Refresh the page and re-launch the console.
- Clear old permissions:
- Go to the browser settings → Privacy and Security → Site Settings → View permissions and data stored across sites, then remove the entry for the lab URL and reload it.
Files are to BIG?
- split the file into smaller pieces
- MacOS from terminal, type: split -b 10m myEncodedFile.zip archive_part_
- -b 10m: specifies the size of each split file
- 10m means 10 megabytes.
- k = kilobytes, g = gigabytes
- reassemble on windows
- https://superuser.com/questions/15935/how-do-i-reassemble-a-zip-file-that-has-been-emailed-in-multiple-parts
Comments
Post a Comment