This only works for containers which have a built-in SSH server. Also, for the official PyTorch containers only the first SSH key will be assigned root; all other users will be asked for root's password (which they don't have).
I do all these exactly, but in the connection, It's asking me for the password. How to fix this, I tried everything and read the Doc too but no use, do you have any suggestions about this status please need help
when I click on IP address, a new vscode window pops up, and after selecting linux it asks password for root@ip address. help! I cannot keep it blank it says connection closed
In order to solve this error the config file on your local machine is pointing to the wrong ssh key. So go to you ~/.ssh folder. Do a cat config to look at the config file. Whatever is the name on your ****.pub you want to use the **** in your config file. In the config file you will see a line that say IdentityFile make sure that points to ~/.ssh/**** This is saying when you try to make this connection point to this private key. You were getting a requirement for a password because you did not point to the correct private key in the config file so when a connection was made it was not correct. If the correct private key is highlighted in your config file you should be able to go through with the connection. Hope that helps.
This only works for containers which have a built-in SSH server. Also, for the official PyTorch containers only the first SSH key will be assigned root; all other users will be asked for root's password (which they don't have).
Thanks!
Thanks for making this. Would help a lot. Truly grateful
Welcome
cool thing! I want to use it too! the key pair code where did you get the ssh keygen at 0:57 ?
he created it in the video before
I do all these exactly, but in the connection, It's asking me for the password. How to fix this, I tried everything and read the Doc too but no use, do you have any suggestions about this status please need help
either the path of your .ssh is incorrect or you pasted the wrong public key in the runpod settings.
Thanks so much!
Dude, thanks a lot! This is micro-heroic shee ngl 😂
In that file you should just point to the name of the public key file because that's what will be used to make the connection
If i run the fastapi file using uvicorn then it will run on my local host or the machince local host.
machine local host
Great content. Thank you very much.
Welcome
how can I load an already existing pyhton folder in my local drive? thank you very much for the video. I really apreciate it!
Just bring that folder to the path
when I deploy the gpu, do I start spending immediately? or do I spend only when I execute code?
First option is the correct.
If however, you would like to have the second option, you need to go for serverless option.
@@PromptEngineer48 thank you very much.
im getting a could not establish connection to "ip address" connection was canceled.
One more thing. It won't work with office internet.
when I click on IP address, a new vscode window pops up, and after selecting linux it asks password for root@ip address. help! I cannot keep it blank it says connection closed
I have the same problem , did you solve it ?
when it asks for password, you didn't give it your public key in the first hand, your auth is with key and not pwd.
it asks me for a password? I followed your tutorial but when connecting it requires a password for root which I don't have
Try to leave it blank.. or type password
@@PromptEngineer48 didn't work. I'm having the same issue.
same for me , it doesnt work, ask for a password everytime
In order to solve this error the config file on your local machine is pointing to the wrong ssh key. So go to you ~/.ssh folder. Do a cat config to look at the config file.
Whatever is the name on your ****.pub you want to use the **** in your config file.
In the config file you will see a line that say IdentityFile make sure that points to ~/.ssh/****
This is saying when you try to make this connection point to this private key. You were getting a requirement for a password because you did not point to the correct private key in the config file so when a connection was made it was not correct. If the correct private key is highlighted in your config file you should be able to go through with the connection. Hope that helps.
@@mamotivated Do you mean we should place the name of that key on the IdentityFile inside the config file?
and ubuntu?
I will hve to explore.
hi, how to connect with google colab? any idea?
isnt it the expensive way ?
yes. but if you want to run a huge model like mistral 8x7b, we can use this solution
I want my Ai to be able to ping devices on my LAN
Give it that tool. It would definitely do that.
@@PromptEngineer48How? :)