Beruflich Dokumente
Kultur Dokumente
com/virtual-machine/faq/
Ubuntu
Frequently Asked
How to disable the SSH server? Questions For
Debian Virtual Machines
Ubuntu
Ubuntu
1 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ sudo mv /etc/init/ssh.conf.back
/etc/init/ssh.conf
$ sudo start ssh
2 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Ubuntu $ ssh-keygen
Generating public/private rs
How to disable the SSH server? a key pair.
Connecting with an SSH client on Your public key has been sav
Linux and Mac OS X ed in /home/bitnami/.ssh/id_r
sa.pub.
How to access a server using an SSH The key fingerprint is:
tunnel? XX:XX:XX:XX:XX:XX:XX:XX:XX:X
3 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ cd /home/bitnami/.ssh
$ cat id_rsa.pub >> /home/bit
Content nami/.ssh/authorized_keys
RSAAuthentication yes
How to disable the SSH server?
PubkeyAuthentication yes
Debian
4 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
PuTTY
(https://www.chiark.greenend.org.uk
/~sgtatham/putty/latest.html), a free SSH
client for Windows and UNIX platforms.
To access the server via SSH tunnel
Content using PuTTY on a specific port using an
SSH tunnel, you need to have it
How to enable the SSH server?
configured in order to allow connections
Debian to your server.
Ubuntu Step 1: Obtain PuTTY
Download the PuTTY ZIP
How to disable the SSH server?
archive from its website
Debian (http://www.chiark.greenend.org.uk
/~sgtatham/putty
Ubuntu
/download.html).
5 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
(/images/img/platforms/common
How to enable the SSH server? /connect-ssh-windows-
Debian 1-121dfb24.png)
In the "Connection -> Data"
Ubuntu
section, enter the username
root into the "Auto-login
How to disable the SSH server?
username" field, under the
Debian "Login details" section.
Ubuntu
6 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
7 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
Debian
(/images/img/platforms/common/connect-
Ubuntu ssh-windows-4-a0cff593.png)
8 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
How to disable the SSH server? You should now be logged in to your
server. Here is an example of what you'll
Debian
see:
Ubuntu
9 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
10 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Debian
Ubuntu
11 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server? (/images/img/platforms/common
/access-application-
Debian
2-91e722b8.png)
Ubuntu
In the "Session" section, save your
changes by clicking the "Save"
How to disable the SSH server?
button.
Debian Click the "Open" button to open an
12 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
machine/faq/#obtaining-your-ssh-
credentials-for-your-client).
13 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
How to disable the SSH server? Servers and related tools: apache2/,
mysql/, postgresql/, apache-tomcat/,
Debian
etc.
Ubuntu Languages: php/, python/, ruby/,
tcl/, etc.
How to configure the SSH server to Application files:
support key-based authentication? apps/phpMyAdmin/, apps/drupal/,
Connecting with an SSH client apps/joomla/, apps/redmine/, etc.
Common libraries: common/
Connecting with an SSH client on
Licenses of the components
Windows
included in the stack: licenses/
Connecting with an SSH client on
Linux and Mac OS X
Application files are stored in the
/opt/bitnami/apps/APPNAME/htdocs
How to access a server using an SSH
directory. The configuration file for the
tunnel?
Apache Web server is stored in the
Accessing a server using an SSH /opt/bitnami/apps/APPNAME/conf/
tunnel on Windows
directory.
Accessing a server using an SSH
tunnel on Linux and Mac OS X
What Is A Bitnami
What is the directory structure?
Image?
What is a Bitnami image?
A Bitnami image includes everything you
How to obtain root privileges? need to run your Bitnami-packaged
application of choice. The installation and
configuration of all of the software
14 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
15 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ sudo su
$ passwd
Ubuntu
Accessing a server using an SSH You can also obtain the application
tunnel on Windows username from the application page in
our documentation (/virtual-machine
Accessing a server using an SSH
tunnel on Linux and Mac OS X /apps).
16 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
17 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ sudo /opt/bitnami/ctlscript.sh
Content
How to enable the SSH server?
How To Change The
Debian Login Password For
Ubuntu The Virtual Machine?
The default login password for the virtual
How to disable the SSH server?
machine console is displayed when it
Debian starts up, as shown below:
Ubuntu
18 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Application?
Access the Bitnami application by
browsing to the virtual machine's IP
address. This address is typically
Ubuntu
Debian
Ubuntu
19 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
20 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Debian
$ sudo /opt/bitnami/apps/APPNAME/b
Ubuntu nconfig --machine_hostname IP-ADDR
ESS
How to disable the SSH server?
Debian
21 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
How To Enable
22 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Desktop Access?
To allow desktop access for the bitnami
user, follow these steps:
Content Debian
Install the gnome-core package:
How to enable the SSH server?
$ sudo apt-get update
Debian
$ sudo apt-get install gnome-
Ubuntu
core
23 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
24 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Hostname: 127.0.0.1
Username: bitnami
Password: PASSWORD
Connection method: FTP
Port: 21
Content
FTP root directory: /opt/bitnami/a
How to enable the SSH server? pps/APPNAME/htdocs
Debian
If the virtual machine does not include the
Ubuntu
vsftpd server, install it by following these
steps:
How to disable the SSH server?
Install the package:
Debian
25 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
How to access a server using an SSH Although you can use any SFTP/SCP
tunnel? client to transfer files to your server, this
guide documents FileZilla (https://filezilla-
Accessing a server using an SSH
tunnel on Windows project.org/) (Windows, Linux and Mac
OS X), WinSCP (http://winscp.net/)
Accessing a server using an SSH
(Windows) and Cyberduck
tunnel on Linux and Mac OS X
(https://cyberduck.io/?l=en) (Mac OS X).
26 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
FileZilla
27 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
Debian (/images/img/platforms/common
Ubuntu /upload-files-filezilla-connection-
bitnami-69d2376b.png)
How to configure the SSH server to Use the "Connect" button to connect
support key-based authentication?
to the server and begin an SFTP
Connecting with an SSH client session. You might need to accept
the server key, by clicking "Yes" or
Connecting with an SSH client on
Windows "OK" to proceed.
28 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
(/images/img/platforms/common/upload-
Content files-filezilla-debug-78c118d7.png)
Debian
Follow these steps:
29 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
Ubuntu 5f5fe869.png)
30 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian (/images/img/platforms/common
/upload-files-winscp-
Ubuntu
sudo-1a4c00c1.png)
31 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
(/images/img/platforms/common
/upload-files-cyberduck-protocol-
48a0a755.png)
Debian
Ubuntu
32 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
FileZilla
33 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Debian
Ubuntu
34 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
(/images/img/platforms/common
/upload-files-winscp-connection-
Content bitnami-ba5a7c75.png)
How to enable the SSH server? From the "Session" panel, use the
"Login" button to connect to the
Debian
server and begin an SCP session.
Ubuntu Enter the password when prompted.
Debian
Ubuntu
How to access a server using an SSH You should now be logged into the
tunnel?
/home/bitnami directory on the server.
Accessing a server using an SSH You can now transfer files by dragging
tunnel on Windows and dropping them from the local server
35 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
(/images/img/platforms/common
Debian
/upload-files-cyberduck-protocol-
Ubuntu 48a0a755.png)
How to obtain root privileges? You should now be logged into the
/home/bitnami directory on the server.
You can now transfer files by dragging
36 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
37 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
38 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Debian
Ubuntu
Debian
Ubuntu
39 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
(/images/img/platforms/common/use-
Ubuntu
external-smtp-mandrill-
465-7a73dd2c.png)
How to disable the SSH server?
40 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
(/images/img/platforms/virtual-machine
Debian /increase-memory-caba5f5d.png)
Ubuntu
Recent versions of Bitnami virtual
machines include the PAE kernel, which
How to disable the SSH server?
allows you to increase assigned RAM
Debian memory to more than 4 GB. The optimal
Ubuntu setting will also depend on the host
machine's capabilities and the number of
How to configure the SSH server to virtual machines running simultaneously.
support key-based authentication?
Connecting with an SSH client TIP: It's good practice to share the
RAM between the host machine and
Connecting with an SSH client on
Windows the virtual machine. For example, if
the host machine has 2 GB RAM and
Connecting with an SSH client on
you are only running one virtual
Linux and Mac OS X
machine, increase the RAM of the
virtual machine to 1 GB. It is not
How to access a server using an SSH
tunnel? advisable to increase it to more than
this because this may result in the
Accessing a server using an SSH
host machine running out of physical
tunnel on Windows
memory and switching to swap
Accessing a server using an SSH memory, which significantly decreases
tunnel on Linux and Mac OS X
overall performance.
41 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
How to disable the SSH server? Create a new directory to mount the
disk:
Debian
42 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ sudo mv /opt/bitnami/apps/joomla
/data /mnt/disk/data
$ ln -s /mnt/disk/data /opt/bitnam
i/apps/joomla/data
Content
How to enable the SSH server?
How To Install And
Debian Configure Webmin?
Ubuntu Webmin (http://www.webmin.com/) is a
web-based interface for system
How to disable the SSH server? administration. Using any modern web
Debian browser, it enables management of user
accounts, Apache, DNS, file sharing and
Ubuntu
much more.
43 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
$ sudo sh setup.sh
How to enable the SSH server? Once Webmin is installed, access it with
Debian the credentials set during the installation
process by browsing to http://SERVER-
Ubuntu
IP:10000.
44 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
start_cmd=sudo /opt/bitnami/
ctlscript.sh start mysql >/de
v/null 2>&1
stop_cmd=sudo /opt/bitnami/c
tlscript.sh stop mysql >/dev/
Content
null 2>&1
How to enable the SSH server? mysql=/opt/bitnami/mysql/bin
/mysql
Debian
mysqladmin=/opt/bitnami/mysq
Ubuntu
l/bin/mysqladmin
mysqldump=/opt/bitnami/mysql
How to disable the SSH server?
/bin/mysqldump
Debian mysqlimport=/opt/bitnami/mys
ql/bin/mysqlimport
Ubuntu
my_cnf=/opt/bitnami/mysql/my
.cnf
How to configure the SSH server to
support key-based authentication? mysqlshow=/opt/bitnami/mysql
/bin/mysqlshow
Connecting with an SSH client
mysql_libs=/opt/bitnami/mysq
Connecting with an SSH client on l/lib
Windows mysql_data=/opt/bitnami/mysq
45 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
below:
Content
How to enable the SSH server?
Debian
Ubuntu
Debian
Ubuntu
46 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
start_cmd=sudo /opt/bitnami/
ctlscript.sh start apache >/d
ev/null 2>&1
stop_cmd=sudo /opt/bitnami/c
tlscript.sh stop apache >/dev
Content
/null 2>&1
How to enable the SSH server? httpd_dir=/opt/bitnami/apach
e2
Debian
httpd_conf=/opt/bitnami/apac
Ubuntu
he2/conf/httpd.conf
apachectl_path=/opt/bitnami/
How to disable the SSH server?
apache2/bin/apachectl
Debian apply_cmd=/opt/bitnami/apach
e2/bin/apachectl graceful
Ubuntu
defines_file=/opt/bitnami/ap
ache2/bin/envvars
How to configure the SSH server to
support key-based authentication? link_dir=/opt/bitnami/apache
2/conf/sites-enabled
Connecting with an SSH client
mime_types=/opt/bitnami/apac
Connecting with an SSH client on he2/conf/mime.types
Windows access_conf=/opt/bitnami/apa
47 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Debian
Ubuntu
Debian
Ubuntu
48 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
start_cmd=sudo /opt/bitnami/
ctlscript.sh start postgresql
>/dev/null 2>&1
stop_cmd=sudo /opt/bitnami/c
tlscript.sh stop postgresql >
Content
/dev/null 2>&1
How to enable the SSH server? psql=/opt/bitnami/postgresql
/bin/psql
Debian
dump_cmd=/opt/bitnami/postgr
Ubuntu
esql/bin/pg_dump
rstr_cmd=/opt/bitnami/postgr
How to disable the SSH server?
esql/bin/pg_restore
Debian pid_file=/opt/bitnami/postgr
esql/data/postmaster.pid
Ubuntu
hba_conf=/opt/bitnami/postgr
esql/data/pg_hba.conf
How to configure the SSH server to
support key-based authentication? simple_sched=0
sameunix=1
Connecting with an SSH client
date_subs=0
Connecting with an SSH client on max_text=1000
Windows perpage=25
49 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
Debian (/images/img/platforms/common/install-
Ubuntu
webmin-3e43e15b.png)
50 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
51 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
52 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
What is the directory structure? Add a storage device and attach the
VDI file created earlier to it.
What is a Bitnami image?
53 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
54 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
55 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
offerings.
56 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Content
How to enable the SSH server?
Debian
Ubuntu
Ubuntu
In this case, click "Yes" if you know the
reason for the key mismatch (IP address
How to configure the SSH server to
reassigned to another server, machine
support key-based authentication?
replaced, and so on).
Connecting with an SSH client
57 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
machine/components/mysql#how-
to-install-and-run-mysqltuner) to
check and optimize your MySQL or
MariaDB database server
configuration.
Content If you are experiencing bot attacks
How to enable the SSH server? that are affecting your server, use
the Apache configuration file to filter
Debian
out and deny requests by specified
Ubuntu IP address (/virtual-machine
/components/apache#how-to-deny-
How to disable the SSH server? connections-from-botsattackers).
Debian
Ubuntu
Bitnami Documentation
Connecting with an SSH client
58 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Installers (/installer)
Virtual Machines (/virtual-machine)
Containers (/containers)
Kubernetes (/kubernetes)
General Documentation
Content
Bitnami Application Stacks (/general/apps)
Bitnami
How to Infrastructure Stacks
enable the SSH (/general/infrastructure)
server?
How-To Guides (/general/how-to)
Debian
Bitnami Components (/general/components)
Security Notices (/general/security)
Ubuntu
Bitnami 2017
How to disable the SSH server?
Debian
Ubuntu
Apps
How to configure
Applications the SSH server to
(https://bitnami.com/stacks)
support(https://bitnami.com/addons)
Add-ons key-based authentication?
Vote! (https://bitnami.com/contest)
Connecting with an SSH client
What we Connecting
do with an SSH client on
Windows
Cloud Hosting (https://bitnami.com/cloud)
Pricing (https://bitnami.com/cloud/pricing)
Connecting with an SSH client on
Enterprise (https://bitnami.com/enterprise)
Linux and Mac OS X
Cloud Partners (https://bitnami.com/partners/cloud)
Software Partners (https://bitnami.com/partners/software)
How to access a server using an SSH
Customers (https://bitnami.com/cloud/customers-testimonials)
tunnel?
FAQs (https://bitnami.com/cloud/pricing#faqs)
Accessing a server using an SSH
Who we are on Windows
tunnel
AboutAccessing
(https://bitnami.com/about-us)
a server using an SSH
Contact (https://bitnami.com/contact)
tunnel on Linux and Mac OS X
Careers (https://bitnami.com/careers)
What's New? (https://bitnami.com/news)
What is the directory structure?
Press (https://bitnami.com/news/press)
Blog (http://blog.bitnami.com)
What is a Bitnami image?
Legal (https://bitnami.com/legal)
How to obtain root privileges?
Support
Documentation (https://bitnami.com/support)
59 de 60 19/8/17 10:26
Frequently Asked Questions for Virtual Machines https://docs.bitnami.com/virtual-machine/faq/
Forums (https://community.bitnami.com)
Helpdesk (http://helpdesk.bitnami.com)
Webinars (https://bitnami.com/webinars)
Content
How to enable the SSH server?
Debian
Ubuntu
Debian
Ubuntu
60 de 60 19/8/17 10:26