Skip to content

ssh command doesn't work #1

@YourDeveloperFriend

Description

@YourDeveloperFriend

I followed the instructions here, particularly this line:

doskara-admin@port $ ssh factory "/usr/local/doskara/build.sh myapp" < myapp.tar.gz

But I get this error:

BuildError: 2014-04-02 16:18:46 +0000
Command: ssh factory "/usr/local/doskara/build.sh doskara.git"
ssh: Could not resolve hostname factory: Name or service not known

What I found odd about this command is that it doesn't have a user, and I'm not sure if "factory" will resolve to the correct host. So I tried nathan@doskara-dev-factory-host, but I got the same error:

BuildError: 2014-04-02 16:32:26 +0000
Command: ssh nathan@doskara-dev-factory-host "/usr/local/doskara/build.sh doskara.git"
ssh: Could not resolve hostname doskara-dev-factory-host: Name or service not known

Finally, I broke down, and set up a private/public key connection between git@port and nathan@factory, and now the command is:

ssh nathan@ec2-54-186-81-5.us-west-2.compute.amazonaws.com ...

I'm sure that's not what you had in mind. Let me know how I should continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions