PHP ssh2 connect()

Jmnote (토론 | 기여)님의 2016년 5월 13일 (금) 19:05 판 (→‎같이 보기)

1 개요

PHP ssh2_connect()
  • SSH 서버에 접속하는 PHP 함수
$connection = ssh2_connect('135.79.246.80', 22);
if (ssh2_auth_password($connection, 'username', 'secret')) {
  echo "Authentication Successful!\n";
} else {
  die('Authentication Failed...');
}

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}