어제부터 꼭같이 해도 접속이 되질않는데,
맥에서....
윈도우에서는 문제가 없다..아무래도 맥용클라이언트 오류인것 같다.
아래 2번의 .pem파일은 AWS EC2 대쉬보드의 key pair 메뉴에서 받을 수 있다.
몇개를 받아도 상관은 없다. 전부다 사용할 수 있다. 단, 많이 받을 필요는 없어 보인다.
한번 pem파일을 등록하면, 다음 부터 접속시에는 파일질라가 자동으로 해당 키파일을 불러서 접속을 한다.
EC2 우분투를 사용할 경우 User명은 Ubuntu이다.
Bitnami를 처음부터 패키지 형태로 사용할 경우 User명은 Bitnami이다.
패스워드는 입력하지 않고 그냥 엔터를 친다.
- Edit (Preferences) > Settings > Connection > SFTP, Click "Add key file”
- Browse to the location of your .pem file and select it.
- A message box will appear asking your permission to convert the file into ppk format. Click Yes, then give the file a name and store it somewhere.
- If the new file is shown in the list of Keyfiles, then continue to the next step. If not, then click "Add keyfile..." and select the converted file.
- File > Site Manager Add a new site with the following parameters:Host: Your public dns name of ec2 instance, or the public ip address of the serverProtocol: SFTPLogon Type: NormalUser: From the docs: "For Amazon Linux, the default user name is ec2-user. For RHEL5, the user name is often root but might be ec2-user. For Ubuntu, the user name is ubuntu. For SUSE Linux, the user name is root. For Debian, the user name is admin. Otherwise, check with your AMI provider."Press Connect Button - If saving of passwords has been disabled, you will be prompted that the logon type will be changed to 'Ask for password'. Say 'OK' and when connecting, at the password prompt push 'OK' without entering a password to proceed past the dialog.Note: FileZilla automatically figures out which key to use. You do not need to specify the key after importing it as described above.