This question already has an answer here:

I'm trying to scp into a box running 12.04 32bit livecd. The machines are connected to same switch & can ping each other just fine.

I use the usual args, eg-

scp -rp 'ubuntu@' .

but keep getting connection refused on port 22.

Its my understanding port 22 is open on livecd so I cannot figure out what the problem is..

Thanks for any help with this.

marked as duplicate by psusi, jobin, Radu Rădeanu, Maythux, belacqua Apr 17 '14 at 16:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Please post the output of lsof -Pni on the machine running the livecd. It sounds like you need to start SSH on that machine. – jkt123 Apr 17 '14 at 0:03
  • Did you install openssh-server? – psusi Apr 17 '14 at 0:23