Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting the following error:

sudo ssh -i -v ~/.ssh/shopious.pem ubuntu@

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Warning: Identity file -v not accessible: No such file or directory.
ssh: Could not resolve hostname /Users/myusername/.ssh/shopious.pem: nodename nor servname provided, or not known

How is this possible? I am not sure what I changed, but before it was working using the same exact command.

share|improve this question

closed as not a real question by womble, voretaq7 Nov 11 '12 at 0:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You have your command line wrong

ssh -v -i ~/.ssh/shopious.pem ubuntu@

should work.

  • -v Verbose mode

  • -i identity file - selects a file from which the identity ... is read.

You are telling ssh to use a file called -v as the identity file and to connect to host ~/.ssh/shopious.pem. You really should take a look at the ssh man page

share|improve this answer
now I am getting this: – user79356 Aug 22 '12 at 7:12
@lain have you check my gist? – user79356 Aug 22 '12 at 7:15
@user79356: That's a different problem to the one you asked about above and if you search SF you'll find plenty of similar questions to look at. – Iain Aug 22 '12 at 7:16
I have scourged all over SF without any luck – user79356 Aug 22 '12 at 7:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.