The instructions for Paperspace instances say that password is emailed to you, but that doesn’t happen when you use a gradient notebook, so I’m not sure where the password comes from. This is such a noob question but I’ve been googling and poking around for 30 minutes. How do I jump through that first hoop?
Ok, I’ve given it a good shot but failed at the point where I try to run the script provided by paper space. Here’s the notebook for those who want to give it a shot with a better understanding of linux and Jupyter. I will just have to remember not to leave the lights on. Back to studying lesson 5…
Dunno about gradient and they seem to want you to use their web console for shell sessions in general. You have to buy a public ip address ($3/m) and connect it to your instance to ssh in. I dunno if you can do that with gradient notebooks but I did it with a regular machine. After connecting the ip address, it didn’t work, I rebooted and it still didn’t work, but a couple minutes later it worked. So maybe some routing table had to update someplace after the first failure, or maybe I should have just waited a while, or whatever.
To log in after the ip works, ssh to paperspace@yourip and use the password that they email you. If you’re familiar with linux you might want to set up .ssh/authorized_keys so you don’t have to mess with the password (public/private key login). I ran my usual ansible script that I set up new servers with and it worked fine, even though it’s written for debian and paperspace only has ubuntu.
Hi @samwan, it says that ‘permission is denied’ or ‘no such file in folder’. I have checked multiple times to confirm that these folders exist and that the file that I want to transfer is in my documents folder. This is what I tried most recently and still getting the same error.
scp Documents/CSV files/[my file] paperspace@[ip of paperspace]:/fastai/Untitled Folder
This might be a silly suggestion if you already know about spaces, but just in case… Since there are spaces in your directory names, the terminal might think they are separate parts of the command. If you add a backslash “\” in front of each space, it will escape the space so the terminal knows the space is part of the directory name.
scp Documents/CSV\ files/[my file] paperspace@[ip of paperspace]:/fastai/Untitled\ Folder
Or this (with quotation marks):
scp “Documents/CSV\ files/[my file]” paperspace@[ip of paperspace]:"/fastai/Untitled\ Folder"
I’m getting surgery tomorrow and will be offline for a few weeks, so good luck with this!