test88888 opened 11 months ago
|
|||||
I can add that I also followed this, since it said I had to have a "docker aware executor". https://docs.onedev.io/tutorials/cicd/build-docker-image |
|||||
No problem for the user name at all. As to SCP step not working, how is the executor |
|||||
The I ran an Ubuntu image on the same server as OneDev runs on:
|
|||||
Please continue to test on server as below:
Then inside the container, run below:
|
|||||
Had to run This gives me a
|
|||||
I can ping my server from the container, though. |
|||||
Ah. If I use my server's public IP, instead of it's DNS name, it seems to allow me to telnet it. |
|||||
|
|||||
I tested the scp step in my buildspec now, using the public IP instead of the hostname. It seems to work, but sadly it won't transfer directories, only files. I can't seem to find an option to use the Thank you anyways, you have been of great help! |
|||||
Robin Shen changed state to 'Closed' 11 months ago
|
|||||
No problem. I filed an improvement request to add scp |
|||||
I was able to jerry-rig it to work by adding |
|||||
Yes, OneDev just concatenates source field literally into scp command. An extra explicit options field will make this step easier to use. |
Type |
Question
|
Priority |
Normal
|
Assignee |
Sorry for my username, I originally only created this account to test OneDev before installing it myself.
When trying to upload via SCP to a server, it just refuses to. I always get
port 22: Connection refused
. I've been stuck on this for a few hours now. I also tried just uploading to my server via a docker image runningkroniak/ssh-client
. That also didn't work.Thank you.